capabilities.work

List a service principal's direct memberships

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

Look something up

List a service principal's direct memberships

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 a service principal's direct memberships in a single step (GET /servicePrincipals/{servicePrincipal-id}/memberOf). capabilities.work can help you get signed up and connected.

  • Which groups and directory roles is a service principal directly a member of?
  • Does the memberOf list for an app include nested group memberships?
Say it to your AI assistant
  • List the groups and roles service principal {sp} directly belongs to.
  • Show the direct, non-transitive memberships of {sp}.
For your developer

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