CustomAttributes in Azure Active Directory App Registration

sujith reddy komma 76 Reputation points
2020-08-06T09:58:52.423+00:00

Hi,

I have created an app and when i generate the token i get the attributes like aud,issuer etc.

is There a way i can add custom attributes like ID, Pan etc to a specific app?
when i pass them these fileds and i need to get them in access token?

Thanks,
Sujith.

Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
21,434 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Vasil Michev 104K Reputation points MVP
    2020-08-06T10:05:15.333+00:00

    You can add additional "claims" to the token, which can be mapped to custom attributes. Read here: https://video2.skills-academy.com/en-us/azure/active-directory/develop/active-directory-optional-claims#optional-claims-example

    0 comments No comments

  2. VipulSparsh-MSFT 16,271 Reputation points Microsoft Employee
    2020-08-06T10:55:51.847+00:00

    @sujith reddy komma Yes you can certainly add other claims mapped to custom attributes, you can follow our guidance here.
    If you want a more deeper understanding of it with examples, I recommend you to watch our video with option claims and custom attributes here :
    https://www.youtube.com/watch?v=ysmKQCtl0KU from Microsoft 365 developers.

    -----------------------------------------------------------------------------------------------------------------

    If the suggested response helped you resolve your issue, do click on "Mark as Answer" and "Up-Vote" for the answer that helped you for benefit of the community.


Your answer

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