How to add additional claims to EnterPri

Chris Rollings 40 Reputation points
2025-03-28T10:03:54.9333333+00:00

Hi,

does anybody have any examples of using powershell to add additonal claims to an enterprise app on this page?User's image

we need to add it to our pipelines and AI is struggling with this one :)

Thanks

PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,922 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Molly Lu-MSFT 2,586 Reputation points Microsoft External Staff
    2025-04-01T08:59:26.16+00:00

    Hello,

    Thank you for posting in Microsoft Q&A.

    Based on the description, I understand your question is related to add additional claims to EnterPri.

    Claims customization is used by tenant admins to customize the claims emitted in tokens for a specific application in their tenant. You can use claims-mapping policies to:

    select which claims are included in tokens.

    create claim types that do not already exist.

    choose or change the source of data emitted in specific claims.

    Claims customization supports configuring claim-mapping policies for the SAML, OAuth, and OpenID Connect protocols.

    Claims Mapping Policy supersedes both Custom Claims policy and the claims customization offered through the Microsoft Entra admin center. Customizing claims for an application using the Claims Mapping Policy means that tokens issued for that application will ignore the configuration in Custom Claims Policy or the configuration in claims customization blade in the Microsoft Entra admin center.

    I found some useful links related to this topic and provides steps, here are the reference links:

    https://learn.microsoft.com/en-us/entra/identity-platform/claims-customization-powershell

    https://learn.microsoft.com/en-us/graph/api/serviceprincipal-list-claimsmappingpolicies?view=graph-rest-beta&tabs=powershell

    Have a nice day.

    Best Regards,

    Molly

    ============================================

    If the Answer is helpful, please click "Accept Answer" and upvote it

    0 comments No comments

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.