capabilities.work

Get one direct membership of a service principal

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

Look something up

Get one direct membership of a service principal

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 get one direct membership of a service principal in a single step (GET /servicePrincipals/{servicePrincipal-id}/memberOf/{directoryObject-id}). capabilities.work can help you get signed up and connected.

  • Can I fetch a single group or role that a service principal is directly a member of?
  • What does one direct membership entry for a service principal look like?
Say it to your AI assistant
  • Get direct membership {object} of service principal {sp}.
  • Show the group or role {object} that {sp} is directly a member of.
For your developer

GET /servicePrincipals/{servicePrincipal-id}/memberOf/{directoryObject-id} in Applications Service Principals.directory Object API. Full spec on APIs.io.