capabilities.work

Count all ancestor groups of a group

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

Look something up

Count all ancestor groups of 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 ancestor groups of a group in a single step (GET /groups/{group-id}/transitiveMemberOf/microsoft.graph.group/$count). capabilities.work can help you get signed up and connected.

  • How many ancestor groups does a group have at any nesting depth?
  • Can I count only groups in a group's transitive memberOf?
Say it to your AI assistant
  • Count the ancestor groups of group {group}.
  • Tell me how many groups contain group {group}, including nested parents.
For your developer

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