capabilities.work

Count directory roles a service principal holds, nested too

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

Look something up

Count directory roles a service principal holds, nested too

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 directory roles a service principal holds, nested too in a single step (GET /servicePrincipals/{servicePrincipal-id}/transitiveMemberOf/microsoft.graph.directoryRole/$count). capabilities.work can help you get signed up and connected.

  • How many directory roles does a service principal hold once nesting is counted?
  • What is the transitive role total for an app?
Say it to your AI assistant
  • Count directory roles {sp} holds transitively.
  • Tell me how many roles service principal {sp} has, nested included.
For your developer

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