How to automate the claim with source attribute for Enterprise application

Suruthi Iyyappan 0 Reputation points
2024-02-14T07:46:29.3533333+00:00

I'm trying to add the user.employeeid claim and also for directory schema extension in OIDC based sign-on for enterprise application using powershell, I'm not able to do it. And also I couldn't find any options in the documentation for do it non-interactively.source-attribute-snip

schema-extension-attrbute

Microsoft Security | Microsoft Entra | Microsoft Entra ID
{count} votes

2 answers

Sort by: Most helpful
  1. anand 235 Reputation points
    2024-02-14T08:02:28.47+00:00

    Hi Suruthi Iyyappan, Thanks for reaching out. Could you please try adding "new claim" set from "User Attributes & Claims" section from Azure AD Enterprise Application as shown below: Steps: 1.Under User Attributes & Claims, click the edit symbol 86808-image.png 2.Click Add new claim 86810-image.png 3.Write displayname in the Name field 4.Leave Namespace as empty 5.Choose Attribute as Source 6.Select user.userprincipalname as Source attribute and Save it. 86861-image.png Here is an example of UPN claim in SAML token. Hope this helps. 86768-image.png

    Please "Accept the answer" if the information helped you. This will help us and others in the community as well.


  2. Suruthi Iyyappan 0 Reputation points
    2024-02-14T12:38:51.6333333+00:00

    I want to automate this process using powershell or using graph explorer Under User Attributes & Claims, click the edit symbol,....add claim with employeeid. I have used JWT configuration.

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.