capabilities.work

Count service principals a user owns

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

Look something up

Count service principals a user owns

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

Use Microsoft Entra ID (formerly Azure AD): its Users.directory Object API lets you count service principals a user owns in a single step (GET /users/{user-id}/ownedObjects/microsoft.graph.servicePrincipal/$count). capabilities.work can help you get signed up and connected.

  • How many service principals does a user own?
  • Can I count owned service principals matching a filter?
Say it to your AI assistant
  • Count service principals owned by {user}.
  • Count owned service principals of {user} matching {filter}.
For your developer

GET /users/{user-id}/ownedObjects/microsoft.graph.servicePrincipal/$count in Users.directory Object API. Full spec on APIs.io.