capabilities.work

Count objects a service principal owns

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

Look something up

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

  • How many directory objects does a service principal own in total?
  • What is the owned-object count for one app?
Say it to your AI assistant
  • Count all objects owned by service principal {sp}.
  • Give me the total number of owned objects for {sp}.
For your developer

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