Exchange Online - Tenant to Tenant migration disable AD Connect

%3CLINGO-SUB%20id%3D%22lingo-sub-1036162%22%20slang%3D%22en-US%22%3EExchange%20Online%20-%20Tenant%20to%20Tenant%20migration%20disable%20AD%20Connect%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1036162%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20all%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EWe%20are%20in%20the%20middle%20of%20a%20tenant%20to%20tenant%20migration%20for%20Exchange%20Online.%3C%2FP%3E%3CP%3E%3CBR%20%2F%3EWe%20have%20users%20using%20different%20domainnames%20so%20i%20did%20a%20little%20testrun%20with%20a%20few%20people%20who%20use%20a%20certain%20domainname.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ECurrent%20situation%20is%3A%3C%2FP%3E%3CP%3ELocal%20AD%2C%20synced%20with%20O365%20via%20Azure%20AD%20Connect.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EWhen%20migrating%20the%20small%20group%20of%20people%2C%20I%20opened%20the%20Azure%20AD%20settings%20and%20disabled%20syncing%20these%20users%20by%20disabling%20syncing%20their%20OU.%3C%2FP%3E%3CP%3EWhat%20then%20happend%20was%20that%20all%20users%20got%20deleted%20in%20O365.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIt%20took%20me%20a%20while%20to%20restore%20them%20and%20what%20I%20did%20does%20not%20seem%20to%20be%20the%20best%20approach.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EHow%20do%20I%20make%20the%20remaining%20users%20'Cloud%20users'%20without%20changing%20the%20Azure%20AD%20connect%20settings%3F%3C%2FP%3E%3CP%3EWhen%20i%20searched%20online%20i%20found%20this%20powershell%20command%3A%3C%2FP%3E%3CP%3ESet-MsolDirSyncEnabled%20-EnableDirSync%20%24false%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EWill%20this%20be%20enough%3F%3C%2FP%3E%3CP%3EOr%20does%20anyone%20has%20another%20best%20approach%20%3A)%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1036162%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EExchange%20Online%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EOffice%20365%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1036427%22%20slang%3D%22en-US%22%3ERe%3A%20Exchange%20Online%20-%20Tenant%20to%20Tenant%20migration%20disable%20AD%20Connect%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1036427%22%20slang%3D%22en-US%22%3E%3CP%3EThat's%20the%20only%20supported%20method.%20An%20unsupported%20and%20a%20bit%20scary%20alternative%20is%20to%20delete%20the%20user%20in%20O365%2C%20then%20simply%20recover%20it%20from%20the%20recycle%20bin.%20This%20effectively%20makes%20it%20a%20%22disconnector%22%20and%20you%20can%20manage%20it%20directly%20in%20the%20cloud.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1038243%22%20slang%3D%22en-US%22%3ERe%3A%20Exchange%20Online%20-%20Tenant%20to%20Tenant%20migration%20disable%20AD%20Connect%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1038243%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F58%22%20target%3D%22_blank%22%3E%40Vasil%20Michev%3C%2FA%3E%26nbsp%3BThanks%20for%20your%20reply!%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EBy%20only%20supported%20method%2C%20do%20you%20mean%20the%20first%20part%20(edit%20AAD%20Connect)%20or%20the%20second%20part%20(disabling%20the%20sync%20by%20running%20this%20ps-cmd%3B%26nbsp%3B%3CSPAN%3ESet-MsolDirSyncEnabled%20-EnableDirSync%20%24false).%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%3EThanks%20again!%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1038674%22%20slang%3D%22en-US%22%3ERe%3A%20Exchange%20Online%20-%20Tenant%20to%20Tenant%20migration%20disable%20AD%20Connect%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1038674%22%20slang%3D%22en-US%22%3E%3CP%3EDisabling%20DirSync.%3C%2FP%3E%3C%2FLINGO-BODY%3E
Highlighted
Occasional Contributor

Hi all,

 

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 :)?

 

Thanks.

3 Replies
Highlighted

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.

Highlighted

@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).

 

Thanks again!

Highlighted