capabilities.work

Count groups a service principal owns

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

Look something up

Count groups a service principal owns

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 groups a service principal owns in a single step (GET /servicePrincipals/{servicePrincipal-id}/ownedObjects/microsoft.graph.group/$count). capabilities.work can help you get signed up and connected.

  • How many groups does a service principal own?
  • What is the number of groups owned by one app?
Say it to your AI assistant
  • Count the groups owned by {sp}.
  • Tell me how many groups service principal {sp} owns.
For your developer

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