POST /users/{user-id}/getMemberGroups
Return all the group IDs for the groups that the specified user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. This API returns up to 11,000 group IDs. If more than 11,000 results are available, it returns a 400 Bad Request error with the DirectoryResultSizeLimitExceeded error code. If you get the DirectoryResultSizeLimitExceeded error code, use the List group transitive memberOf API instead.
Servers
- https://graph.microsoft.com/v1.0
 
Path parameters
| Name | Type | Required | Description | 
|---|---|---|---|
user-id | 
            String | Yes | 
                 The unique identifier of user  | 
          
Request headers
| Name | Type | Required | Description | 
|---|---|---|---|
Content-Type | 
            String | Yes | 
                The media type of the request body.
                   Default value: "application/json"  | 
          
Request body fields
| Name | Type | Required | Description | 
|---|---|---|---|
securityEnabledOnly | 
            Boolean | No | 
                
                   Default value: false  | 
          
How to start integrating
- Add HTTP Task to your workflow definition.
 - Search for the API you want to integrate with and click on the name.
      
- This loads the API reference documentation and prepares the Http request settings.
 
 - Click Test request to test run your request to the API and see the API's response.