How to Disable Active Directory Sync for Office 365

In this blog post, I’ll show you how to disable Active Directory Sync for Office 365.

Office 365 allows us to use 3 Identity modules:

  • Cloud identity – Manage user accounts in Office 365 only. No on-premises servers are required.
  • Synchronized identity – Synchronize on-premises Active directory objects with Office 365 and manage them from on-premises.
  • Federated identity – Synchronize on-premises Active directory objects with Office 365 and manage them from on-premises, Authentication Is done using ADFS.

In this post, I’ll switch from Synchronized identity to Cloud Identity.

As you can see below, I have Azure AD Connect configured and I’ll switch it off.

Once switched off, I’ll be able to manage Office 365 users and settings from the portal directly.

Below you can see that I have AD Sync enabled.

Disable Dir Sync

To complete this task, connect to Office 365 using PowerShell and run the cmdlet below:

Set-MsolDirSyncEnabled -EnableDirSync $false

Change can take up to 72 hours to complete.

Once the process is completed, you will see that the DirSync Status Is not available anymore.

Leave a Reply

Your email address will not be published. Required fields are marked *