Cannot get sync with AD and AAD

Austin Leung 1 Reputation point
2020-09-10T15:24:58.057+00:00

Hi,

I get an error while syncing with aad. while I trying to sync it, the synchronization service shows that 1 of my domain status is "stopped-server-down".

and when I execute the command "(Get-MSOLCompanyInformation).DirectorySynchronizationStatus", the results is "PendingDisabling".

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

1 answer

Sort by: Most helpful
  1. thgibard-MSFT 356 Reputation points
    2020-09-11T21:20:33.677+00:00

    Hello,

    From what I'm understanding, it's nothing to see with the AAD Connect synchronization. But, your tenant has been disabled for synchronization. When you've a Tenant, the disabling of the Synchronization can take several days depending on its size. And then, if it's mistake and you need to re-activate it, it can take again several days (again). Happened with a customer a few months ago, that made a confusion on the 2 below commands :

    Set-MsolDirSyncEnabled -EnableDirSync $false (stopping Tenant synchronization)
    Set-ADSyncScheduler -SyncCycleEnabled $false (stopping AAD Connect synchronization)

    So, when the status will have ended its "PendingDisabling" you should be able to re-activate it - if it's something you want to do.

    It's important to not mis-understood : synchronization for the whole tenant and just stop/start the AAD Connect synchronization process.

    0 comments No comments

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.