Count a service principal's direct memberships
One step with Microsoft Entra ID (formerly Azure AD). We can help you get access.
Look something up
Count a service principal's direct memberships
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 a service principal's direct memberships in a single step (GET /servicePrincipals/{servicePrincipal-id}/memberOf/$count). capabilities.work can help you get signed up and connected.
- How many groups and roles is a service principal directly a member of?
- What is the total of direct memberships for one app?
Say it to your AI assistant
- Count the direct memberships of service principal {sp}.
- Give me the number of groups and roles {sp} directly belongs to.
For your developer
GET /servicePrincipals/{servicePrincipal-id}/memberOf/$count in Applications Service Principals.directory Object API. Full spec on APIs.io.