Auth0 ADLDAP Admin Service Fails to Start on Windows

Overview

This article provides troubleshooting steps for the following error, which can occur when attempting to start the Auth0 AD/LDAP Admin service on a Windows computer.

Windows could not start the Auth0 ADLDAP Admin service on Local Computer. The service did not return an error. This could be an internal Windows error or an internal service error.

Applies To

  • AD/LDAP connector

Cause

This error can occur when restarting the services on the connector on Windows. It might be related to a syntax error in the profileMapper.js file.

Solution

The following steps can help identify and resolve the issue.

  1. Verify Installation: Check the server’s Program Files folder to confirm the AD/LDAP Connector is still installed.
  2. Review Logs:
  • Check the logs.txt file located in the connector folder for specific error messages.
  • In the Windows Event Viewer, check for logs related to the connector under Windows Logs > Application and Windows Logs > System.
  1. Run Troubleshooting Tool: Use the official AD/LDAP Connector Troubleshooting Tool to help diagnose the problem.
  2. Check for Syntax Errors: Carefully review the profileMapper.js file for any syntax errors that would prevent the service from starting.
  3. Reinstall the Connector: If the issue persists, reinstalling the connector may resolve the problem.
    a. Back up the configuration: Before uninstalling, create a backup of the config.json file, the certs folder, and the profileMapper.js file.
    b. Uninstall the connector from the server.
    c. Install the connector again.

Related References