capabilities.work

List 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

List 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 list all memberships of a service principal, nested too in a single step (GET /servicePrincipals/{servicePrincipal-id}/transitiveMemberOf). capabilities.work can help you get signed up and connected.

  • Which groups and roles does a service principal belong to, including through nested groups?
  • Can I get an app's full transitive membership rather than only direct ones?
Say it to your AI assistant
  • List every group and role {sp} belongs to, including nested memberships.
  • Show the transitive memberships of service principal {sp}.
For your developer

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