Azure Hybrid Join - Status of Directory Sync

JanA 0 Reputation points
2025-03-07T14:47:02.49+00:00

Hi @all,

we have an synchronizied Active Directory since more than 10 years. Now we want to use Azure Hybrid Join. In the Azure Connect Tool on DC it shows up an error in the assistent, if we want to activate the option. The error says "Status of Directory Sync is wrong". I have read so much blogs and support sites from Microsoft. But no one has this error message have before.

Can I kindly ask for help please?

Greetings,

Jan

Microsoft Security Microsoft Entra Microsoft Entra ID
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Venkata Jagadeep 1,400 Reputation points Microsoft External Staff Moderator
    2025-03-10T20:44:45.2433333+00:00

    Hello JanA,

    According to the description given, it appears that you have been syncing your on-premises domain to Azure for some time now and are currently attempting to set up Hybrid Azure AD Join, but are encountering issues while enabling the feature.

    Please confirm that you have validated the listed recommendations and review the following details to ensure their accuracy.

    Microsoft Entra Connect must be installed on a domain-joined Windows Server 2016 or later. We recommend using domain-joined Windows Server 2022.

    You must have a Microsoft Entra Global Administrator account or Hybrid Identity Administrator account for the Microsoft Entra tenant you want to integrate with.

    If you plan to use Microsoft Entra Connect Health for syncing, you need to use a Global Administrator account to install Microsoft Entra Connect Sync. If you use a Hybrid Identity Administrator account, the agent is installed but in a disabled state.

    Microsoft Entra Connect (version 1.1.614.0 and after) by default uses TLS 1.2 for encrypting communication between the sync engine and Microsoft Entra ID. If TLS 1.2 isn't available on the underlying operating system, Microsoft Entra Connect incrementally falls back to older protocols (TLS 1.1 and TLS 1.0). From Microsoft Entra Connect version 2.0 onwards. TLS 1.0 and 1.1 are no longer supported and installation fails if TLS 1.2 isn't enabled.

    Microsoft recommends you follow the below document to enable TLS 1.2 on your Entra Connect Server.

    https://learn.microsoft.com/en-us/entra/identity/hybrid/connect/how-to-connect-install-prerequisites#enable-tls-12-for-microsoft-entra-connect

    Make sure you have the .NET 4.5.1 hotfix installed for your operating system. For more information, see Microsoft Security Advisory 2960358. You might have this hotfix or a later release installed on your server already.

    Reference:

    https://learn.microsoft.com/en-us/security-updates/SecurityAdvisories/2015/2960358

    DCOM prerequisites on the synchronization server

    During the installation of the synchronization service, Microsoft Entra Connect checks for the presence of the following registry key:

    HKEY_LOCAL_MACHINE: Software\Microsoft\Ole

    Under this registry key, Microsoft Entra Connect checks to see if the following values are present and uncorrupted

    MachineAccessRestriction

    MachineLaunchRestriction

    DefaultLaunchPermission

    Preliminary troubleshooting steps:

    Ensure that the service account running Azure AD Connect has the necessary permissions in both on-premises AD and Azure AD.

    The service account should have Enterprise Admin permissions in on-prem AD (for reading and writing objects) and Global Admin in Azure AD (for writing user data).

    Check if the Microsoft Azure AD Sync Service is running on the server.

    Open Services (services.msc), search for Microsoft Azure AD Sync, and make sure the service is started.

    If it’s not running, start it manually.

    If you're using Azure AD Connect Health, you can view the sync status:

    Go to the Azure portal: https://portal.azure.com.

    Navigate to Azure Active Directory.

    Under Monitoring, click on Azure AD Connect.

    Check the sync status on the Azure AD Connect Health Dashboard. This provides insights into any issues with sync operations.

    Check the Synchronization Service logs for error messages:

    On the Azure AD Connect server, open the Synchronization Service Manager.

    Go to Operations and look for any failed sync attempts or errors.

    Please refer the below document.

    https://learn.microsoft.com/en-us/entra/identity/hybrid/connect/how-to-connect-install-prerequisites#installation-prerequisites

    I suggest you verify if your version of AD-Connect tool is functional.

    Reference :

    https://learn.microsoft.com/en-us/entra/identity/hybrid/connect/reference-connect-version-history


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.