Count admin units a group belongs to, incl. nested
One step with Microsoft Entra ID (formerly Azure AD). We can help you get access.
Look something up
Count admin units a group belongs to, incl. nested
with Microsoft Entra ID (formerly Azure AD) · Identity & Access Management
Use Microsoft Entra ID (formerly Azure AD): its Groups.directory Object API lets you count admin units a group belongs to, incl. nested in a single step (GET /groups/{group-id}/transitiveMemberOf/microsoft.graph.administrativeUnit/$count). capabilities.work can help you get signed up and connected.
- How many administrative units does a group fall under once nested memberships count?
- Can I count only the admin units among a group's transitive memberships?
Say it to your AI assistant
- Count the administrative units in the transitive memberOf of group {group}.
- Tell me how many admin units contain group {group} directly or indirectly.
For your developer
GET /groups/{group-id}/transitiveMemberOf/microsoft.graph.administrativeUnit/$count in Groups.directory Object API. Full spec on APIs.io.