Group DisplayName using Graph API method me/memberOf

Toni Branco 20 Reputation points


I am trying to get the list of a Azure AD Groups name a user is a member of.

I am using the call with Oauth2 authentication where I have granted the delegated app with the following rights: Screenshot 2023-05-08 at 23.46.46

However, the response of the API call returns the list of groups with their ID, but the property displayName is NULL:

Screenshot 2023-05-08 at 23.48.24

Is there any permission missing ?


Microsoft Graph Users API
Microsoft Graph Users API
A Microsoft API that allows you to build compelling app experiences based on users, their relationships with other users and groups, and the resources they access for example their mails, calendars, files, administrative roles, group memberships.
734 questions
{count} votes

Accepted answer
  1. Zehui Yao_MSFT 4,001 Reputation points Microsoft Vendor

    Hi Toni Branco , I tested locally with the same permissions as you and it ran successfully.

    And per my test, as long as you have either Group.Read.All and GroupMember.Read.All, you can get the value.

    So, please try to decode the token in to ensure that it contains all permissions.

    Hope this helps. Best Wishes.

    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful