capabilities.work

Count all subgroups nested under a group

One step with Microsoft Entra ID (formerly Azure AD). We can help you get access.

Look something up

Count all subgroups nested under a group

with Microsoft Entra ID (formerly Azure AD) · Identity & Access Management

Use Microsoft Entra ID (formerly Azure AD): its Groups.directory Object API lets you count all subgroups nested under a group in a single step (GET /groups/{group-id}/transitiveMembers/microsoft.graph.group/$count). capabilities.work can help you get signed up and connected.

  • How many subgroups are nested under a group at any depth?
  • Can I count only the groups among a group's transitive members?
Say it to your AI assistant
  • Count every subgroup nested under group {group}.
  • Tell me how many groups are transitive members of group {group}.
For your developer

GET /groups/{group-id}/transitiveMembers/microsoft.graph.group/$count in Groups.directory Object API. Full spec on APIs.io.