capabilities.work

List groups a service principal is in, nested too

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

Look something up

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

  • Which groups does a service principal belong to, including groups inside groups?
  • Can I list an app's transitive group memberships without roles?
Say it to your AI assistant
  • List groups {sp} belongs to, including through nested groups.
  • Show transitive group memberships for service principal {sp}.
For your developer

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