Can I add the Company Name value to a user claim in Azure AD? #M365AMA
In this episode, the #M365AMA panel discusses the following community question:
“Is it possible to add the Azure AD Company Name value to the user’s claims in Azure AD? I know I can call Graph API (https://graph.microsoft.com/v1.0/me?$select=companyName) ) and get the company name but I would like to spare a call to Graph API if it possible to add the user’s company name to Azure AD claims. Thanks”
Check out the discussion here:
Participating in this discussion were:
- Christian Buckley @buckleyplanet
- Michelle Gilbert @MichellesUtopia
- Mike Nelson @mikenelsonIO
Some relevant notes/links shared by the team:
- What are custom security attributes in Azure AD? (Preview) [https://learn.microsoft.com/en-us/azure/active-directory/fundamentals/custom-security-attributes-overview]
- Relevant discussion on Stack Overflow: Azure AD B2C : Not able to expose companyName as token [https://stackoverflow.com/questions/59199484/azure-ad-b2c-not-able-to-expose-companyname-as-token]