Sylver SCHORGEN Blog's

Articles, astuces et news sur les technologies Microsoft et plus particulièrement tournant autour de Powershell

[POWERSHELL] Disable Active Directory Synchronization with Office 365

Hi everyone,

Just a little reminder on how to disable Active Directory synchronization between your On-Premise Active Directory and Azure AD.

  1. Connect to Office 365 by using PowerShell with an administrator account : Connect-MSOLService
  2. Execute the following command : Set-MsolDirSyncEnabled -EnableDirSync $false

I use this command a lot in my lab environment when I need to try some stuff for my clients before to configure them in their tenants !

Facebook Like
Anonymous