EnableDirectorySyncTask Error: Directory synchronization is enabled for this directory, but has not yet taken effect. Please wait until directory synchronization is ready. Exception Data (Raw): System.Exception: Directory synchronization is enabled for th

Jeferson Gonçalves 0 Reputation points
2025-02-23T20:30:49.5+00:00

EnableDirectorySyncTask Error: Directory synchronization is enabled for this directory, but has not yet taken effect. Please wait until directory synchronization is ready.

Exception Data (Raw): System.Exception: Directory synchronization is enabled for this directory, but has not yet taken effect. Please wait until directory synchronization is ready.

at Microsoft.Online.Deployment.Types.Providers.SyncDataProvider.EnableDirectorySyncFlag(IAzureActiveDirectoryContext aadContext, IAadSyncContext aadSyncContext)

at Microsoft.Online.Deployment.OneADWizard.Runtime.Stages.ConfigureSyncEngineStage.StartADSyncConfigurationCore(Action`1 UpdateProgressText)

Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
23,435 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Goutam Pratti 1,830 Reputation points Microsoft Vendor
    2025-02-27T12:22:36.84+00:00

    Hello @Jeferson Gonçalves ,

    Thank you for reaching out Microsoft Q&A.

    I Understand you are encounterring error EnableDirectorySyncTask Error: Directory synchronization is enabled for this directory, but has not yet taken effect. Please wait until directory synchronization is ready.

    This message usually means that the initial sync is still in progress. It can take some time depending on the size of your directory and the amount of data being synchronized.

    This can also happen having duplicate users can cause synchronization issues. Please check if there are any duplicate entries, and if so, a hard match will be required. This process involves manually matching the duplicate users to the correct identity, ensuring that only one active account remains.

    For additional details regarding hard match you can follow the document: https://learn.microsoft.com/en-us/entra/identity/hybrid/connect/how-to-connect-install-existing-tenant

    If you are still facing issue let me know!

    Hope this helps. Do let us know if you any further queries.


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.