cipp_list_user_groups
Retrieve all Microsoft 365 groups a specific user belongs to across one or multiple tenants. Provide the user's ID and a tenant filter to get group membership details.
Instructions
List groups a user is a member of
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| userId | Yes | The target user's Azure AD object ID or User Principal Name (UPN, e.g. alice@contoso.com). | |
| tenantFilter | Yes | Tenant domain name or ID to scope the operation. Use 'allTenants' to target every managed tenant. |