AdSync disable directory synchronization

Sometimes you need to “cut” the relationship between your local AD and the Azure AD AAD .

To do this, first check in MSOL if the relationship exists..

Use this command:

Set the directory syncronization to disable

Set-MsolDirSyncEnabled –EnableDirSync $false


Leave a Reply

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