- Connect to Azure AD, and disable sync:
Set-MsolDirSyncEnabled –EnableDirSync $false
- Check status, repeatedly, until it returns False. It can take 72 hours for sync to be fully deactivated.
(Get-MSOLCompanyInformation).DirectorySynchronizationEnabled