Edit

Share via


One or more Microsoft Entra Connect services don't start

This article describes an issue that prevents Microsoft Entra Connect services from starting.

Original product version:   Microsoft Entra ID, Office 365 Identity Management
Original KB number:   2995030

Symptoms

You discover that one or more Microsoft Entra Connect services don't start. For example, the Microsoft Azure AD Sync service (ADSync) doesn't start.

Solution 1: Set User Rights Assignment permissions within Group Policy

Make group policy changes if necessary so that the ADSync service account can log on locally, as a service, and as a batch job. Because a domain group policy takes precedence over a local group policy, you need to check the settings for both types of group policies.

  1. Select Start, enter gpedit.msc in the search box, and then press Enter to open the Local Group Policy Editor snap-in.

  2. In the console tree, under Computer Configuration, expand Windows Settings > Security Settings > Local Policies, and then select User Rights Assignment.

  3. Verify that the ADSync service account is added for the following policy settings:

    • Allow log on locally
    • Log on as a batch job
    • Log on as a service
  4. For domain group policies, open an administrative command prompt.

  5. Run the following gpresult command, which generates a group policy report:

    gpresult /H gpresult.htm
    
  6. Open the resulting group policy report (gpresult.htm).

  7. If User Rights Assignment settings are applied through any domain group policy object (GPO), use the Group Policy Management console (gpmc.msc) from a domain controller to take one of the following actions:

    • Remove the following policy settings from the Winning GPO:

      • Allow log on locally
      • Log on as a batch job
      • Log on as a service
    • Update the Winning GPO to include the ADSync service account.

  8. If you made any changes to the local group policy or domain group policy, restart the computer to apply the changes.

Solution 2: Troubleshoot error messages using Event Viewer

You can also try to find and fix the problem by scanning the Application and System logs in Event Viewer for directory synchronization events. For more information, see Troubleshoot other error messages.

Solution 3: Check the Microsoft Entra ID Sync (ADSync) service account

If solutions 1 and 2 don't resolve the issue, verify the status of your custom ADSync service account. Ensure that the account isn't expired or disabled, that the User must change password at next logon option isn't enabled, and that its password isn't expired. If the password was changed, use the Services.msc console to update the ADSync service account password.

For more information about other types of Windows service accounts, see ADSync service account.

Contact us for help

If you have questions or need help, create a support request, or ask Azure community support. You can also submit product feedback to Azure feedback community.