GraphAPI endpoint Memberof

svcdev 1 Reputation point
2022-10-07T17:23:21.047+00:00

If a security group is a member of distribution group in azure ad, and we try to get memberof the security group
GraphAPI doesn't return identity of distribution group in the list of memberof.

Example link of the api is as follows
https://graph.microsoft.com/beta/groups/identity/memberOf
Tried this with version 1 as well. tried it will trasitivememberOf query as well

If anyone have any other solution please help

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,836 questions
{count} votes

1 answer

Sort by: Most helpful
  1. svcdev 1 Reputation point
    2022-10-13T19:22:27.303+00:00

    @CarlZhao-MSFT
    thanks for replying
    I was using a programmatic approach to add groups and users into group ,I was able to add distribution groups in the security groups using graphapi and vise versa through powershell .
    I know its not doable through UI. but these groups can be added using api or powershell.

    0 comments No comments