Category / Section
Setting Up 'given_name' Claim in Azure for Usernames Sync
Published:
Ensuring seamless synchronization of usernames with Microsoft profiles is crucial for a smooth experience within a Single Sign-On (SSO) linked to Azure, particularly in ticket management scenarios. By configuring the ‘given_name’ claim, we enhance the accuracy of username display, mitigating reliance on email addresses and addressing potential name field issues effectively.
Find the given steps to set up the ‘given_name’ claim.
- Go to Azure Portal > App registrations > Locate your app > then navigate to the Token Configuration section.
- Within the Token Configuration section, locate the option to Add an optional claim.
- Select the ‘given_name’ claim from the available options. This claim contains the user’s given or first name.
- Click Add to save the addition of the ‘given_name’ claim to your Azure AD app.
Note:
- Select the Token Type as ‘ID’, if you are using the OpenID flow.
- Select the Token Type as ‘Access’, if you use the OAuth flow.