Count groups a user is directly in
One step with Microsoft Entra ID (formerly Azure AD). We can help you get access.
Look something up
Count 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 count groups a user is directly in in a single step (GET /users/{user-id}/memberOf/microsoft.graph.group/$count). capabilities.work can help you get signed up and connected.
- How many groups is a user directly a member of?
- Can I count someone's direct group memberships matching a filter?
Say it to your AI assistant
- Count groups {user} is directly a member of.
- Count direct group memberships of {user} matching {filter}.
For your developer
GET /users/{user-id}/memberOf/microsoft.graph.group/$count in Users.directory Object API. Full spec on APIs.io.