capabilities.work

Remove an owner from a service principal by owner id

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

Get something done

Remove an owner from a service principal by owner id

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 remove an owner from a service principal by owner id in a single step (DELETE /servicePrincipals/{servicePrincipal-id}/owners/{directoryObject-id}/$ref). capabilities.work can help you get signed up and connected.

  • Can I remove a specific owner from a service principal using the owner's object id?
  • What is the recommended minimum number of owners to keep on a service principal?
Say it to your AI assistant
  • Remove owner {owner} from service principal {sp}.
  • Take object {owner} off the owners of {sp} using its id in the path.
For your developer

DELETE /servicePrincipals/{servicePrincipal-id}/owners/{directoryObject-id}/$ref in Applications Service Principals.directory Object API. Full spec on APIs.io.