List Azure Enterprise App SAML claims mappings using Powershell

Ukkaapie 21 Reputation points
2024-06-11T09:13:40.5+00:00

We have to modify our primary email address but we have some SSO SAML configs using the email to authenticate. I need to list all SSO SAML configs to understand which Enterprise App SAML configs need updating.

I have tried so much to find out how to list the claims and attributes mappings but everytime I find something the information comes back as blank.

I have tried to retrieve the info using "claimsmappingpolicies" in the MgGraph cmdlets and Graph Explorer to no available. It might be my understanding of how the claims are mapped.

The posts I have found do not give any definitive answer and are relatively old now.

Is there any definitive answer as to how to obtain the SAML claims mappings through PowerShell?

87705-image.png

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

1 answer

Sort by: Most helpful
  1. Akhilesh 6,825 Reputation points Microsoft Vendor
    2024-06-13T13:23:32.9266667+00:00

    Hi @Ukkaapie
    If my understanding is correctly, you are looking for a way to List assigned claimsMappingPolicy If yes you can follow the below articles https://learn.microsoft.com/en-us/graph/api/serviceprincipal-list-claimsmappingpolicies?view=graph-rest-beta&tabs=powershell.
    If not, could you please explain your scenario and steps, what you are trying to achieve if there are any documents you are referring, please share.

    Hope this helps. Do let us know if you any further queries.

    Thanks,

    Akhilesh.


    If this answers your query, do click Accept Answer and Yes for was this answer helpful. And, if you have any further query do let us know.