Microsoft Graph API /members - returns mail: null — was working earlier

Tushar Agarwal 20 Reputation points
2025-04-19T15:28:25.82+00:00

We’ve integrated Microsoft Graph API to retrieve group members using this endpoint:

https://graph.microsoft.com/v1.0/groups/{group-id}/members

Previously, the API used to return user objects with mail populated. But recently, we are consistently receiving mail: null, even though no changes have been made to the app permissions. Our app is using delegated permissions:

"roles": [

"GroupMember.Read.All",

"Calendars.ReadWrite",

"Mail.Send"

]
This issue only started recently. Has Microsoft changed the behavior or tightened Graph API responses?

What permission(s) are now required to reliably receive the mail property in this call?

Thanks!

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

Accepted answer
  1. Vasil Michev 117.8K Reputation points MVP Moderator
    2025-04-21T06:18:17.3933333+00:00

    You need to have sufficient permissions to read the user (member) properties, as detailed for example here: https://learn.microsoft.com/en-us/graph/permissions-overview?tabs=http#limited-information-returned-for-inaccessible-member-objects

    When an application queries a relationship that returns a directoryObject type collection, if it doesn't have permission to read a certain resource type, members of that type are returned but with limited information. For example, only the @odata.type property for the object type and the id is returned, while other properties are indicated as null. With this behavior, applications can request the least privileged permissions they need, rather than rely on the set of Directory.* permissions. For details, see Limited information returned for inaccessible member objects.

    If the members are user objects, you need at least User.ReadBasic.All permissions. Details are in the article above.


0 additional answers

Sort by: Most helpful

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.