capabilities.work

Count a device's registered service principals

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

Look something up

Count a device's registered service principals

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 registered service principals in a single step (GET /devices/{device-id}/registeredUsers/microsoft.graph.servicePrincipal/$count). capabilities.work can help you get signed up and connected.

  • How many service principals are registered users of a device?
  • Can I count only the service principal entries among a device's registered users?
Say it to your AI assistant
  • Count the service principal registered users of device {device_id}.
  • Tell me the number of servicePrincipal-typed registered users on device {device_id}.
For your developer

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