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
CustomAttributes in Azure Active Directory App Registration
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.
2 answers
Sort by: Most helpful
-
-
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.