Home

Changing the AAD Connect 'User Principal Name' attribute from mail to userPrincipalName?

%3CLINGO-SUB%20id%3D%22lingo-sub-910709%22%20slang%3D%22en-US%22%3EChanging%20the%20AAD%20Connect%20'User%20Principal%20Name'%20attribute%20from%20mail%20to%20userPrincipalName%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-910709%22%20slang%3D%22en-US%22%3E%3CP%3EHi%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI'm%20planning%20to%20change%20the%20%3CSTRONG%3EUser%20Principal%20Name%3C%2FSTRONG%3E%20attribute%20from%20%3CEM%3Email%3C%2FEM%3E%20to%20%3CEM%3EuserPrincipalName%3C%2FEM%3E.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E(The%20top%20right%20sync%20option%20in%20the%20image%20below.)%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%20328px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F137311i5B1C6400412DF27C%2Fimage-dimensions%2F328x231%3Fv%3D1.0%22%20width%3D%22328%22%20height%3D%22231%22%20alt%3D%22viewconfig%22%20title%3D%22viewconfig%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI'm%20wondering%20whether%20this%20has%20any%20effect%20for%20my%20%3CSTRONG%3Eexisting%3C%2FSTRONG%3E%20%3CSTRONG%3Eusers%3C%2FSTRONG%3E%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EWill%20the%20UserPrincipalName%20attribute%20in%20Azure%20AD%20for%20existing%20users%20be%20stay%20unchanged%2C%20or%20will%20it%20be%20updated%20with%20the%20on-premises%20UserPrincipalName%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIn%20either%20case%2C%20I%20do%20not%20expect%20any%20disruption%20at%20user%20sign-on%2C%20as%20we%20use%20ADFS%2C%20so%20the%20sign-on%20attribute%20is%20independently%20defined%20in%20in%20the%20claim%20rules.%20Am%20I%20correct%20with%20this%20conclusion%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-910709%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-987652%22%20slang%3D%22en-US%22%3ERe%3A%20Changing%20the%20AAD%20Connect%20'User%20Principal%20Name'%20attribute%20from%20mail%20to%20userPrincipalName%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-987652%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F65328%22%20target%3D%22_blank%22%3E%40Daniel%20Niccoli%3C%2FA%3E%26nbsp%3Bit%20would%20affect%20those%20users%20who%20do%20not%20have%20a%20match%20on%20UserPrincipalName%20and%20Mail.%20Thus%20updating%20the%20UserPrincipalName%20those%20users%20in%20Azure%20Active%20Directory.%20As%20long%20as%20you%20do%20not%20alter%20the%20source%20anchor%2C%20you%20should%20be%20fine.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EWhich%20attribute%20to%20you%20use%20in%20the%20ADFS%20claim%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E
Highlighted
Frequent Contributor

Hi,

 

I'm planning to change the User Principal Name attribute from mail to userPrincipalName.

 

(The top right sync option in the image below.)

 

viewconfig

 

I'm wondering whether this has any effect for my existing users?

 

Will the UserPrincipalName attribute in Azure AD for existing users be stay unchanged, or will it be updated with the on-premises UserPrincipalName?

 

In either case, I do not expect any disruption at user sign-on, as we use ADFS, so the sign-on attribute is independently defined in in the claim rules. Am I correct with this conclusion?

1 Reply

@Daniel Niccoli it would affect those users who do not have a match on UserPrincipalName and Mail. Thus updating the UserPrincipalName those users in Azure Active Directory. As long as you do not alter the source anchor, you should be fine.

 

Which attribute to you use in the ADFS claim?

Related Conversations