Count a device's service principal owners
One step with Microsoft Entra ID (formerly Azure AD). We can help you get access.
Look something up
Count a device's service principal owners
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 service principal owners in a single step (GET /devices/{device-id}/registeredOwners/microsoft.graph.servicePrincipal/$count). capabilities.work can help you get signed up and connected.
- How many service principals are owners of a device?
- Can I count only the service principal entries among a device's owners?
Say it to your AI assistant
- Count the service principal owners of device {device_id}.
- Tell me the number of servicePrincipal-typed owners on device {device_id}.
For your developer
GET /devices/{device-id}/registeredOwners/microsoft.graph.servicePrincipal/$count in Identity.DirectoryManagement Devices.directory Object API. Full spec on APIs.io.