How to include Azure group Name instead of group ID in token

Raja Rathinam M 30 Reputation points
2024-08-21T09:45:02.49+00:00

Hi,

Our Azure application requires a group name to be sent in the response, but we always get a group ID. Currently, we use MS Graph API to get the Group names using the IDs.

I am looking for a possible solution in which I can get the Group name directly in the token response as part of the claims. This way, we don't have to make graph API calls to retrieve the group names.

Note:

  1. We are authenticating the app via an App Registration using OpenID Connect,
  2. Ours is not an on-prim.

Thanks in advance,

Raja

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

Accepted answer
  1. Navya 13,965 Reputation points Microsoft Vendor
    2024-08-23T05:12:26.8733333+00:00

    Hi @Raja Rathinam M

    Thank you for posting this in Microsoft Q&A.

    I understand that you want to include the group names in the token response as claims, instead of relying on MS Graph API calls to retrieve them.

    Currently, group names can be retrieved in SAML applications, and the groups can be synchronized from Active Directory via Microsoft Entra Connect.

    As of now it is not possible to retrieve the group display name in app registration.

    For your reference: Configure group claims for applications by using Microsoft Entra ID

    I would like to request that you share your feedback on our feedback channel lhttps://feedback.azure.com/d365community/forum/22920db1-ad25-ec11-b6e6-000d3a4f0789Which would be open for the user community to upvote & comment on. This allows our product teams to effectively prioritize your request against our existing feature backlog and gives insight into the potential impact of implementing the suggested feature.

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

    Thanks,

    Navya.

    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.

    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Ishaq Sahibole 0 Reputation points
    2024-12-25T07:30:07.8766667+00:00

    I am also looking for

    How to include Azure group Name instead of group ID in token

    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.