capabilities.work

Get all groups, roles and units a service principal is in

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

Look something up

Get all groups, roles and units a service principal is in

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

Use Microsoft Entra ID (formerly Azure AD): its Applications Service Principals.service Principal.Actions… lets you get all groups, roles and units a service principal is in in a single step (POST /servicePrincipals/{servicePrincipal-id}/microsoft.graph.getMemberObjects). capabilities.work can help you get signed up and connected.

  • What groups, administrative units and directory roles does a service principal belong to?
  • Can I get every membership object ID for a service principal, not just groups?
Say it to your AI assistant
  • Get all group, role and administrative unit IDs for service principal {service_principal}.
  • List every membership object of service principal {service_principal} with securityEnabledOnly {security_only}.
For your developer

POST /servicePrincipals/{servicePrincipal-id}/microsoft.graph.getMemberObjects in Applications Service Principals.service Principal.Actions…. Full spec on APIs.io.