Microsoft Secure Tech Accelerator
Apr 03 2024, 07:00 AM - 11:00 AM (PDT)
Microsoft Tech Community

SAML 2.0 - Single Sign on - Custom App - User Attributes

Copper Contributor

When setting up a third party application for SSO. The user attributes "Value's" always start with "user."  (e.g. user.userprincipalname, user.mail, user.surname, etc.) 

 

Can I edit out the initial "user." or is this necessary for Azure (e.g. userprincipalname, mail, surname)

 

Thanks for any help

2 Replies

Hi Andres,

 

As far as I know, this is the way Azure AD works. It points out that it's going to use the userprincipname attribute from the user. Or the mail attribute from the user. You could for example also add group attributes to SAML. Then it would be group.mail, or group.name.

 

So the user. is to point out that you're using a user attribute and the userprincipalname, mail or surname part is to point to the actual attribute.

 

Best regards,

Ruud Gijsbers

Thank you Ruud! This is exactly what I needed