capabilities.work

Count all memberships of a service principal, nested too

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

Look something up

Count all memberships of a service principal, nested too

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

Use Microsoft Entra ID (formerly Azure AD): its Applications Service Principals.directory Object API lets you count all memberships of a service principal, nested too in a single step (GET /servicePrincipals/{servicePrincipal-id}/transitiveMemberOf/$count). capabilities.work can help you get signed up and connected.

  • How many groups and roles does a service principal belong to once nested memberships are included?
  • What is an app's total transitive membership count?
Say it to your AI assistant
  • Count the transitive memberships of service principal {sp}.
  • Give me the number of groups and roles {sp} belongs to including nesting.
For your developer

GET /servicePrincipals/{servicePrincipal-id}/transitiveMemberOf/$count in Applications Service Principals.directory Object API. Full spec on APIs.io.