大网数据广告活动
域与目录服务

Microsoft Entra Connect services don't start

· 52CE 我爱测

Describes an issue that prevents Microsoft Entra Connect services from starting. Provides a resolution.

Summary

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.

Source: Microsoft Learn / IT Pro troubleshooting by Microsoft and contributors. Documentation licensed CC BY 4.0. Code samples are covered by the MIT License. Converted from Markdown, with links normalized and embedded media omitted.

资料来源与适用范围

资料来源
Microsoft Learn / IT Pro troubleshooting
适用范围
See source applicability · Source date 03/06/2025
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY 4.0 (documentation), MIT (code samples)

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。