SOLVED

Merge/move 2 AD's and 1 Office 365 tenant to new AD

%3CLINGO-SUB%20id%3D%22lingo-sub-324606%22%20slang%3D%22en-US%22%3EMerge%2Fmove%202%20AD's%20and%201%20Office%20365%20tenant%20to%20new%20AD%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-324606%22%20slang%3D%22en-US%22%3E%3CP%3EI've%20stepped%20into%20a%20mess%20and%20need%20to%20figure%20a%20way%20out.%20Our%20current%20situation%3A%3C%2FP%3E%3CP%3ETwo%20locations%20with%20separate%20AD's%3A%26nbsp%3B%3C%2FP%3E%3CUL%3E%3CLI%3Elocation%20one%20-%20location1.company.com%3C%2FLI%3E%3CLI%3Elocation%20two%20-%26nbsp%3Blocation2.local%3C%2FLI%3E%3C%2FUL%3E%3CP%3EOne%20Office%20365%20Business%20Premium%20tenant%3C%2FP%3E%3CUL%3E%3CLI%3Econnected%20to%20AD%20location2.local%20via%20AAD%20Connect%20w%2F%20Password%20Hash%20Sync%3C%2FLI%3E%3CLI%3EuserPrincipalName%20-%20company.com%20(SMTP%20address)%3C%2FLI%3E%3CLI%3EAD%20location1.company.com%20is%20not%20connected%2C%20but%20users%20are%20manually%20created%20in%20Office%20365%20(local%20AD%20and%20Office%20are%20separate%20user%20accounts).%3C%2FLI%3E%3C%2FUL%3E%3CP%3EWhat%20I'd%20like%20is%20to%20create%20a%20new%20Forest%20corp.company.com%20and%20migrate%20EVERYTHING%20to%20that%20but%20the%20userPrincipalName%20still%20be%20company.com.%20What%20steps%2Fprocedures%20will%20I%20have%20to%20take%20to%20achieve%20this%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-324606%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EHybrid%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EMigration%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EOffice%20365%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EOn-Premises%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-324666%22%20slang%3D%22en-US%22%3ERe%3A%20Merge%2Fmove%202%20AD's%20and%201%20Office%20365%20tenant%20to%20new%20AD%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-324666%22%20slang%3D%22en-US%22%3EAlright!%20I%E2%80%99ll%20think%20you%20do%20good%20%3A%20)%3CBR%20%2F%3E%3CBR%20%2F%3EAdam%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-324664%22%20slang%3D%22en-US%22%3ERe%3A%20Merge%2Fmove%202%20AD's%20and%201%20Office%20365%20tenant%20to%20new%20AD%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-324664%22%20slang%3D%22en-US%22%3EAD's%20are%20not%20overly%20complicated%20or%20large.%20Probably%20less%20than%20500%20objects.%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-324661%22%20slang%3D%22en-US%22%3ERe%3A%20Merge%2Fmove%202%20AD's%20and%201%20Office%20365%20tenant%20to%20new%20AD%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-324661%22%20slang%3D%22en-US%22%3EAwesome.%20Thanks%20for%20the%20guidance!%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-324660%22%20slang%3D%22en-US%22%3ERe%3A%20Merge%2Fmove%202%20AD's%20and%201%20Office%20365%20tenant%20to%20new%20AD%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-324660%22%20slang%3D%22en-US%22%3EYes!%20Admt%20will%20do!%20It%20depends%20how%20many%20objects%20and%20the%20structure%20of%20the%20current%20ad%E2%80%99s%20too!%20Sometimes%20its%20just%20more%20ideal%20to%20create%20from%20scratch-%20having%20a%20clean%20AD!%20Too%20many%20ads%20out%20there%20are%20a%20mess!%20But%20of%20course%20this%20might%20not%20be%20feasible%3A)%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-324659%22%20slang%3D%22en-US%22%3ERe%3A%20Merge%2Fmove%202%20AD's%20and%201%20Office%20365%20tenant%20to%20new%20AD%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-324659%22%20slang%3D%22en-US%22%3ECorrect%2C%20that's%20how%20I%20would%20approach%20it%20to%20keep%20it%20as%20simple%20as%20possible.%20I%20would%20100%25%20merge%20the%20old%20AD's%20before%20reconnecting%20so%20you%20have%201%20365%20tenant%2C%201%20AD.%20It's%20very%20simple%20after%20that%20point.%3CBR%20%2F%3E%3CBR%20%2F%3EADMT%20is%20usually%20the%20tool%20that%20most%20organisation%20use%20to%20consolidate%20AD%20so%20would%20be%20recommended.%3CBR%20%2F%3E%3CBR%20%2F%3EBest%2C%20Chris%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-324652%22%20slang%3D%22en-US%22%3ERe%3A%20Merge%2Fmove%202%20AD's%20and%201%20Office%20365%20tenant%20to%20new%20AD%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-324652%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F169605%22%20target%3D%22_blank%22%3E%40Christopher%20Hoard%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3EOh%20yes%2C%20I%20like%20this%20idea.%20I%20knew%20I%20would%20probably%20have%20to%20take%20a%20step%20or%20two%20backwards%2C%20but%20I%20never%20considered%20disconnecting%20O365.%3C%2FP%3E%3CP%3ESo%20basically%20to%20super%20simplify%20it%2C%3C%2FP%3E%3CUL%3E%3CLI%3Edisconnect%20the%20sync%2C%3C%2FLI%3E%3CLI%3Ecreate%20new%20forest%3C%2FLI%3E%3CLI%3Ejoin%20domains%20to%20new%20forest%3C%2FLI%3E%3CLI%3Ereconnect%20to%20original%20tenant%3C%2FLI%3E%3C%2FUL%3E%3CP%3EWhat%20if%20before%20reconnecting%20to%20O365%20I%20wanting%20to%20merge%20old%20AD's%20to%20forest%20domain%3F%20Would%20you%20recommend%20ADMT%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks%2C%3C%2FP%3E%3CP%3ERemo%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-324627%22%20slang%3D%22en-US%22%3ERe%3A%20Merge%2Fmove%202%20AD's%20and%201%20Office%20365%20tenant%20to%20new%20AD%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-324627%22%20slang%3D%22en-US%22%3E%3CP%3EHi%2C%3CBR%20%2F%3E%3CBR%20%2F%3EThis%20is%20based%20purely%20on%20what%20you%20have%20outlined%20above%20and%20it's%20a%20personal%20opinion%20-%20others%20will%20have%20their%20own.%3CBR%20%2F%3E%3CBR%20%2F%3E1.)%20Cut%20AAD%20Connect%20on%20Location%20two%20so%20the%20AD%20and%20365%20tenant%20is%20separate.%3CBR%20%2F%3E2.)%20Set%20all%20365%20users%20UPN%20to%20%40company.com%2C%20mail%20addresses%20remain%20the%20same%3CBR%20%2F%3E3.)%20Build%20new%20Forest%20corp.company.com%3CBR%20%2F%3E4.)%20Consolidate%20the%20AD's%20into%20the%20new%20forest%3CBR%20%2F%3E5.)%20In%20AD%20all%20users%20to%20have%20a%20UPN%20Suffix%20of%20%40company.com%2C%20or%20UPN%20of%20%40company.com%3CBR%20%2F%3E6.)%20Install%20Member%20Server%2FAzure%20AD%20Connect%3CBR%20%2F%3E7.)%20Ensure%20the%20AD%20objects%20have%20the%20right%20mail%20address%3CBR%20%2F%3E8.)%20Soft%20match%20the%20users%20from%20new%20Forest%20to%20365%3CBR%20%2F%3E%3CBR%20%2F%3EThat's%20a%20general%20overview.%20It's%20probably%20best%20to%20take%20a%20step%20back%20and%20disentangle%20what's%20there%20first%20even%20if%20it%20means%20having%20cloud%20users%20and%20separate%20credentials%20for%20a%20period%20of%20time.%3CBR%20%2F%3E%3CBR%20%2F%3EHope%20that%20helps%3CBR%20%2F%3E%3CBR%20%2F%3EBest%2C%20Chris%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-324624%22%20slang%3D%22en-US%22%3ERe%3A%20Merge%2Fmove%202%20AD's%20and%201%20Office%20365%20tenant%20to%20new%20AD%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-324624%22%20slang%3D%22en-US%22%3EIn%20short%2C%20If%20you%20are%20creating%20a%20new%20Forest%20and%20new%20Ad%E2%80%99s%20and%20have%20all%20accounts%20in%20it%20you%20need%20to%20do%20a%20migration%20as%20you%20surely%20know!%20Before%20that%20stop%20the%20sync%20and%20uninstall%20the%20ad%20connect!%20Users%20will%20now%20be%20cloud%20only!%3CBR%20%2F%3EDo%20migration%20of%20AD%20objects%20to%20new%20AD%3CBR%20%2F%3Ethen%20you%20apply%20the%20UPN%20of%20company.com%20etc%20in%20Ad%2C%20then%20set%20up%20ad%20connect%20and%20soft%20match%20the%20users%20in%20office%20365%3CBR%20%2F%3E%3CBR%20%2F%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Factive-directory%2Fhybrid%2Fplan-connect-topologies%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Factive-directory%2Fhybrid%2Fplan-connect-topologies%3C%2FA%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Factive-directory%2Fhybrid%2Fhow-to-connect-syncservice-features%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Factive-directory%2Fhybrid%2Fhow-to-connect-syncservice-features%3C%2FA%3E%3CBR%20%2F%3E%3CBR%20%2F%3EAdam%3C%2FLINGO-BODY%3E
Occasional Contributor

I've stepped into a mess and need to figure a way out. Our current situation:

Two locations with separate AD's: 

  • location one - location1.company.com
  • location two - location2.local

One Office 365 Business Premium tenant

  • connected to AD location2.local via AAD Connect w/ Password Hash Sync
  • userPrincipalName - company.com (SMTP address)
  • AD location1.company.com is not connected, but users are manually created in Office 365 (local AD and Office are separate user accounts).

What I'd like is to create a new Forest corp.company.com and migrate EVERYTHING to that but the userPrincipalName still be company.com. What steps/procedures will I have to take to achieve this?

 

8 Replies
In short, If you are creating a new Forest and new Ad’s and have all accounts in it you need to do a migration as you surely know! Before that stop the sync and uninstall the ad connect! Users will now be cloud only!
Do migration of AD objects to new AD
then you apply the UPN of company.com etc in Ad, then set up ad connect and soft match the users in office 365

https://docs.microsoft.com/en-us/azure/active-directory/hybrid/plan-connect-topologies

https://docs.microsoft.com/en-us/azure/active-directory/hybrid/how-to-connect-syncservice-features

Adam
Best Response confirmed by Remo Pistor (Occasional Contributor)
Solution

Hi,

This is based purely on what you have outlined above and it's a personal opinion - others will have their own.

1.) Cut AAD Connect on Location two so the AD and 365 tenant is separate.
2.) Set all 365 users UPN to @company.com, mail addresses remain the same
3.) Build new Forest corp.company.com
4.) Consolidate the AD's into the new forest
5.) In AD all users to have a UPN Suffix of @company.com, or UPN of @company.com
6.) Install Member Server/Azure AD Connect
7.) Ensure the AD objects have the right mail address
8.) Soft match the users from new Forest to 365

That's a general overview. It's probably best to take a step back and disentangle what's there first even if it means having cloud users and separate credentials for a period of time.

Hope that helps

Best, Chris

@Christopher Hoard 

Oh yes, I like this idea. I knew I would probably have to take a step or two backwards, but I never considered disconnecting O365.

So basically to super simplify it,

  • disconnect the sync,
  • create new forest
  • join domains to new forest
  • reconnect to original tenant

What if before reconnecting to O365 I wanting to merge old AD's to forest domain? Would you recommend ADMT?

 

Thanks,

Remo

Correct, that's how I would approach it to keep it as simple as possible. I would 100% merge the old AD's before reconnecting so you have 1 365 tenant, 1 AD. It's very simple after that point.

ADMT is usually the tool that most organisation use to consolidate AD so would be recommended.

Best, Chris
Yes! Admt will do! It depends how many objects and the structure of the current ad’s too! Sometimes its just more ideal to create from scratch- having a clean AD! Too many ads out there are a mess! But of course this might not be feasible:)
Awesome. Thanks for the guidance!
AD's are not overly complicated or large. Probably less than 500 objects.
Alright! I’ll think you do good : )

Adam