Forum Discussion

arifsohail92's avatar
arifsohail92
Copper Contributor
Feb 12, 2021
Solved

Create new user accounts in M365 and merge the user accounts later from On premises AD.

Customer has an AD domain ( CORP )  and they are separating from the company with new domain ( ABC )   Currently they have M365, SharePoint and Teams access, As they are separating from the CORP do...
  • CoasterKaty's avatar
    Feb 12, 2021

    arifsohail92 If you create a cloud-only account in 365/Azure AD, and later connect AADConnect sync to it, it will merge accounts that it thinks are the same. Off the top of my head this is done off userPrincipalName or proxyAddresses matching. Probably something to test first but if your userPrincipalName on-premise is the same as the account logon name in 365, or the proxyAddresses contains a match for the email address of the cloud account (as the default address, i.e. SMTP: in upper case), it'll merge them. This is called "soft match" - there's a "hard match" which uses the sourceAnchor/immutableID but in your case I would expect soft match to work.

     

    This explains it a bit better than I can https://raaaimund.github.io/tech/2019/06/13/merge-on-premise-existing-azure-ad-user/

     

     

Resources