capabilities.work

Count a device's direct memberships

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

Look something up

Count a device's direct memberships

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

Use Microsoft Entra ID (formerly Azure AD): its Identity.DirectoryManagement Devices.directory Object API lets you count a device's direct memberships in a single step (GET /devices/{device-id}/memberOf/$count). capabilities.work can help you get signed up and connected.

  • How many groups and administrative units combined is a device directly a member of?
  • Is there a way to get just the number of direct memberships for a device?
Say it to your AI assistant
  • Count all direct memberships of device {device_id}, groups and admin units together.
  • Return only the total of direct memberOf entries for device {device_id}.
For your developer

GET /devices/{device-id}/memberOf/$count in Identity.DirectoryManagement Devices.directory Object API. Full spec on APIs.io.