We are in the middle of a tenant to tenant migration for Exchange Online.
We have users using different domainnames so i did a little testrun with a few people who use a certain domainname.
Current situation is:
Local AD, synced with O365 via Azure AD Connect.
When migrating the small group of people, I opened the Azure AD settings and disabled syncing these users by disabling syncing their OU.
What then happend was that all users got deleted in O365.
It took me a while to restore them and what I did does not seem to be the best approach.
How do I make the remaining users 'Cloud users' without changing the Azure AD connect settings?
When i searched online i found this powershell command:
Set-MsolDirSyncEnabled -EnableDirSync $false
Will this be enough?
Or does anyone has another best approach :)?
That's the only supported method. An unsupported and a bit scary alternative is to delete the user in O365, then simply recover it from the recycle bin. This effectively makes it a "disconnector" and you can manage it directly in the cloud.
@Vasil Michev Thanks for your reply!
By only supported method, do you mean the first part (edit AAD Connect) or the second part (disabling the sync by running this ps-cmd; Set-MsolDirSyncEnabled -EnableDirSync $false).