Generated by API Evangelist
Written by API Evangelist tooling for Microsoft Azure's API. It is a proposal applied on top of the contract, not a document Microsoft Azure publishes.
# Generated by API Evangelist (build-phrasing.py). Our phrasing, not observed demand.
overlay: 1.0.0
info:
title: API Evangelist conversational phrasing for Microsoft Azure GraphRbacManagementClient Service Principal…
version: 1.0.0
extends: openapi/_superseded/microsoft-azure-serviceprincipalowners-api-openapi.yml
actions:
- target: $.info
update:
x-apievangelist-phrasing:
method: generated
generated: '2026-09-26'
generator: build-phrasing.py
label: Generated by API Evangelist
operations: 3
- target: $.paths['/{tenantID}/servicePrincipals/{objectId}/owners'].get
update:
x-apievangelist-phrasing:
intent: List owners of a service principal
effect: read
questions:
- Who owns a given service principal in my directory?
- Which users are allowed to modify a service principal?
instructions:
- text: List owners of service principal {objectId} in tenant {tenantID}.
slots:
objectId: path.objectId
tenantID: path.tenantID
- text: Show who can modify service principal {objectId} in tenant {tenantID}.
slots:
objectId: path.objectId
tenantID: path.tenantID
method: generated
generated: '2026-09-26'
- target: $.paths['/{tenantID}/servicePrincipals/{objectId}/$links/owners'].post
update:
x-apievangelist-phrasing:
intent: Add an owner to a service principal
effect: write
questions:
- How do I make a user an owner of a service principal?
- Can I add an owner by directory object URL?
instructions:
- text: Add owner {url} to service principal {objectId} in tenant {tenantID}.
slots:
url: requestBody.url
objectId: path.objectId
tenantID: path.tenantID
- text: Make the directory object at {url} an owner of service principal {objectId} in {tenantID}.
slots:
url: requestBody.url
objectId: path.objectId
tenantID: path.tenantID
method: generated
generated: '2026-09-26'
- target: $.paths['/{tenantID}/servicePrincipals/{objectId}/$links/owners/{ownerObjectId}'].delete
update:
x-apievangelist-phrasing:
intent: Remove an owner from a service principal
effect: destructive
questions:
- Can I take away someone's ownership of a service principal?
- Can I remove one owner and leave the others?
instructions:
- text: Remove owner {ownerObjectId} from service principal {objectId} in tenant {tenantID}.
slots:
ownerObjectId: path.ownerObjectId
objectId: path.objectId
tenantID: path.tenantID
- text: Revoke ownership of {objectId} for owner {ownerObjectId} in tenant {tenantID}.
slots:
ownerObjectId: path.ownerObjectId
objectId: path.objectId
tenantID: path.tenantID
method: generated
generated: '2026-09-26'
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we
store it to create your key and to recognise you if you sign in with another
provider. By signing up you are subscribing to the APIs.io and API Evangelist
newsletters — you can unsubscribe from any issue. See our
Privacy Policy and Terms.