capabilities.work

Count service principals in a group, incl. nested

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

Look something up

Count service principals in a group, incl. nested

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

  • How many service principals are in a group once nested membership counts?
  • Can I count only the service principals among a group's transitive members?
Say it to your AI assistant
  • Count the service principals in group {group}, including nested membership.
  • Tell me how many service principals are transitive members of group {group}.
For your developer

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