List groups a user is directly in
One step with Microsoft Entra ID (formerly Azure AD). We can help you get access.
Look something up
List groups a user is directly in
with Microsoft Entra ID (formerly Azure AD) · Identity & Access Management
Use Microsoft Entra ID (formerly Azure AD): its Users.directory Object API lets you list groups a user is directly in in a single step (GET /users/{user-id}/memberOf/microsoft.graph.group). capabilities.work can help you get signed up and connected.
- Which groups is a user a direct member of, leaving out roles and units?
- Can I search the groups someone directly belongs to by name?
Say it to your AI assistant
- List only the groups {user} is directly in.
- Search groups {user} directly belongs to for {term}.
For your developer
GET /users/{user-id}/memberOf/microsoft.graph.group in Users.directory Object API. Full spec on APIs.io.