An Engineers Notebook

How to disable Azure AD Connect (DirSync)

1. Log into Azure PowerShell and sign into your tenant

2. Connect to Office 365 with the Connect-MsolConnect cmdlet.
3. Run: Set-MsolDirSyncEnabled –EnableDirSync $false

How can we check that this has worked?
Run (Get-MSOLCompanyInformation).DirectorySynchronizationEnabled

Microsoft states that “If you disabled directory synchronization, deactivation may require up to 72 hours.”

Leave a Reply

Your email address will not be published.