capabilities.work

Count groups a group is directly nested in

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

Look something up

Count groups a group is directly nested in

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

  • How many parent groups directly contain a given group?
  • Can I count only groups in a group's direct memberOf?
Say it to your AI assistant
  • Count the parent groups that directly contain group {group}.
  • Tell me how many groups group {group} is directly nested in.
For your developer

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