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

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:
    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

The result should show ‘Disabled’. In case it displays ‘Pending Disable’, you need to wait as it has not yet completely disabled the sync.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s