SOLVED

Synchronize Mail attribute with UPN name in Azure

%3CLINGO-SUB%20id%3D%22lingo-sub-1136987%22%20slang%3D%22en-US%22%3ESynchronize%20Mail%20attribute%20with%20UPN%20name%20in%20Azure%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1136987%22%20slang%3D%22en-US%22%3E%3CP%3E%3CSPAN%3EI%20have%20a%20question%20on%20Azure%20AD%20Connect%20where%20I%20want%20to%20map%20the%20mail%20attribute%20of%20Active%20Directory%20to%20UPN%20attribute%20of%20Azure%20AD.%20%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%3EAzure%20AD%20Connect%20is%20already%20installed%20and%20UPN%20was%20selected%20as%20a%20primary%20login%20ID%20on%20Office%20365.%20Can%20this%20be%20done%20without%20uninstalling%20the%20current%20and%20existing%20Azure%20AD%20Connect%3F%20User%20are%20already%20using%20Dynamics%20365%20CRM.%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%3EAnd%2C%20if%20we%20change%20it%2C%20what%20will%20happen%20to%20the%20data%20of%20the%20user%3F%20Will%20there%20is%20any%20data%20loss%20or%20not%3F%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%3EThank%20you%2C%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3ERahul.%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1136987%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EAzure%20AD%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1138038%22%20slang%3D%22en-US%22%3ERe%3A%20Synchronize%20Mail%20attribute%20with%20UPN%20name%20in%20Azure%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1138038%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F403577%22%20target%3D%22_blank%22%3E%40rahul2275%3C%2FA%3E%2C%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EYou%20can%20use%26nbsp%3BUserPrincipalName%20soft%20match%26nbsp%3Bon%20the%20following%20article.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%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%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Factive-directory%2Fhybrid%2Fhow-to-connect-syncservice-features%3C%2FA%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EBest%20regards%2C%3C%2FP%3E%0A%3CP%3ENuno%20%C3%81rias%20Silva%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1138749%22%20slang%3D%22en-US%22%3ERe%3A%20Synchronize%20Mail%20attribute%20with%20UPN%20name%20in%20Azure%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1138749%22%20slang%3D%22en-US%22%3EHi%20Rahul2275%2C%3CBR%20%2F%3E%3CBR%20%2F%3EHave%20you%20tried%20to%20add%20the%20mail%20attribute%20as%20new%20proxiesaddresses%20for%20that%20user%20in%20AD%3F%20Then%20if%20you%20want%20to%20make%20it%20primary%2C%20you%20just%20need%20to%20have%20it%20with%20upper%20%E2%80%98SMTP%3A%E2%80%99%3CBR%20%2F%3EYou%20will%20not%20any%20data%20using%20this%20way!%3CBR%20%2F%3E%3CBR%20%2F%3EHope%20I%E2%80%99m%20not%20misunderstanding%20the%20scenario!%3CBR%20%2F%3EMoe%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E
Highlighted
Occasional Contributor

I have a question on Azure AD Connect where I want to map the mail attribute of Active Directory to UPN attribute of Azure AD.

 

Azure AD Connect is already installed and UPN was selected as a primary login ID on Office 365. Can this be done without uninstalling the current and existing Azure AD Connect? User are already using Dynamics 365 CRM.

 

And, if we change it, what will happen to the data of the user? Will there is any data loss or not?

 

Thank you,

Rahul.

2 Replies
Highlighted
Best Response confirmed by rahul2275 (Occasional Contributor)
Solution

Hi @rahul2275,

 

You can use UserPrincipalName soft match on the following article.

 

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

 

Best regards,

Nuno Árias Silva

 

Highlighted
Hi Rahul2275,

Have you tried to add the mail attribute as new proxiesaddresses for that user in AD? Then if you want to make it primary, you just need to have it with upper ‘SMTP:’
You will not any data using this way!

Hope I’m not misunderstanding the scenario!
Moe