Count admin units a service principal is in, nested too
One step with Microsoft Entra ID (formerly Azure AD). We can help you get access.
Look something up
Count admin units a service principal is in, 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 admin units a service principal is in, nested too in a single step (GET /servicePrincipals/{servicePrincipal-id}/transitiveMemberOf/microsoft.graph.administrativeUnit/$count). capabilities.work can help you get signed up and connected.
- How many administrative units does a service principal belong to including nested ones?
- What is the transitive admin-unit total for an app?
Say it to your AI assistant
- Count administrative units {sp} belongs to transitively.
- Tell me how many admin units service principal {sp} is in, nested included.
For your developer
GET /servicePrincipals/{servicePrincipal-id}/transitiveMemberOf/microsoft.graph.administrativeUnit/$count in Applications Service Principals.directory Object API. Full spec on APIs.io.