Azure SAML customize group claim uses "group id" instead of object id

Alistair Young 31 Reputation points
2022-09-22T11:07:12.37+00:00

If I set up a group claim for SAML SSO in an enterprise app the "Apply regex replace to groups claim content" is applied to a GUID that appears to having nothing to do with the group. The group object id is not the same as the id that comes out of Azure in this filter.

If I use the regex:

(?'fromAzure'.*)

and add content to the claim with:

{fromAzure}

i.e. pass-through whatever Azure is using as the "content" of the group I see a GUID that has nothing, apparently, to do with the group and is not the group object id.

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

1 answer

Sort by: Most helpful
  1. James Hamil 21,546 Reputation points Microsoft Employee
    2022-09-26T19:21:30.063+00:00

    Hi @Alistair Young , have you looked through this document? Can you also send a screenshot of your claim so I can reference it? Are you using the portal?

    0 comments No comments