I am unable to get the group membership details of the mail enabled security groups.

Vijayalakshmi A 0 Reputation points
2023-07-28T12:23:46.02+00:00

I am trying to check the user membership. For Ex. I am also a member of the mail enabled security group. I am having enough permission for getting the membership details (Group.Read.All , GroupMember.Read.All, User.Read.All those permission i am having in App registry.) But I can able to get the membership of security group types. But not for mail enabled security group type. Kindly suggest me the solution for this.

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
13,050 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. CarlZhao-MSFT 45,186 Reputation points
    2023-07-31T06:45:44.02+00:00

    Hi @Vijayalakshmi A

    What error did you receive? I was able to get the membership details of a mail-enabled security group using the same permissions.

    Get the mail-enabled security group:

    User's image

    Get the membership details of a mail-enabled security group:

    User's image

    Hope this helps.

    If the reply is helpful, please click Accept Answer and kindly upvote it. If you have additional questions about this answer, please click Comment.


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.