top of page

Directory synchronization is currently in a pending disable state for this directory

CAUSE: The on-premises AD DS is no longer available. Therefore, you can’t manage or delete the object from the on-premises environment.


  1. Install the Azure Active Directory Module for Windows PowerShell. For more info, go to the following Microsoft website: Manage Azure AD using Windows PowerShell

  2. Connect to Azure AD by using Windows PowerShell.

  3. Disable directory synchronization. To do this, type the following cmdlet, and then press Enter: Set-MsolDirSyncEnabled –EnableDirSync $false

  4. Check that directory synchronization was fully disabled by using the Windows PowerShell. To do this, run the following cmdlet periodically: (Get-MSOLCompanyInformation).DirectorySynchronizationEnabled This cmdlet will return True or False. Continue to run this cmdlet periodically until it returns False, and then go to the next step. Note: It may take 72 hours for deactivation to be completed. The time depends on the number of objects that are in your cloud service subscription account.

As mentioned above, it may take upto 72 hours to disable the synchronization. You can check the status with the following command (Get-MSOLCompanyInformation).DirectorySynchronizationStatus The result should show ‘Disabled’. In case it displays ‘Pending Disable’, you need to wait as it has not yet completely disabled the sync.

47 views0 comments

Recent Posts

See All

Azure Defender and Defender for Endpoint

I always get a lot of questions related to Azure Defender and Microsoft Defender for Endpoint (MDE). Are they both the same? If I hold the Azure Defender license does it mean I have MDE for all my cli


bottom of page