Microsoft Entra · OpenAPI Overlay 1.0.0

API Evangelist conversational phrasing for OData Service for namespace microsoft.graph Identity…

15 actions 15 updates phrasing extends openapi/microsoft-entra-identityprotection-riskyserviceprincipal-api-openapi.yml
Generated by API Evangelist Written by API Evangelist tooling for Microsoft Entra's API. It is a proposal applied on top of the contract, not a document Microsoft Entra publishes.
View Overlay File View on GitHub Overlay Specification

What the actions change

x-apievangelist-phrasing

Targets 15

$.info
$.paths['/identityProtection/riskyServicePrincipals'].get
$.paths['/identityProtection/riskyServicePrincipals'].post
$.paths['/identityProtection/riskyServicePrincipals/{riskyServicePrincipal-id}'].get
$.paths['/identityProtection/riskyServicePrincipals/{riskyServicePrincipal-id}'].delete
$.paths['/identityProtection/riskyServicePrincipals/{riskyServicePrincipal-id}'].patch
$.paths['/identityProtection/riskyServicePrincipals/{riskyServicePrincipal-id}/history'].get
$.paths['/identityProtection/riskyServicePrincipals/{riskyServicePrincipal-id}/history'].post
$.paths['/identityProtection/riskyServicePrincipals/{riskyServicePrincipal-id}/history/{riskyServicePrincipalHistoryItem-id}'].get
$.paths['/identityProtection/riskyServicePrincipals/{riskyServicePrincipal-id}/history/{riskyServicePrincipalHistoryItem-id}'].delete
$.paths['/identityProtection/riskyServicePrincipals/{riskyServicePrincipal-id}/history/{riskyServicePrincipalHistoryItem-id}'].patch
$.paths['/identityProtection/riskyServicePrincipals/{riskyServicePrincipal-id}/history/$count'].get
$.paths['/identityProtection/riskyServicePrincipals/$count'].get
$.paths['/identityProtection/riskyServicePrincipals/confirmCompromised'].post
$.paths['/identityProtection/riskyServicePrincipals/dismiss'].post

OpenAPI Overlay

Raw ↑
# Generated by API Evangelist (build-phrasing.py). Our phrasing, not observed demand.
overlay: 1.0.0
info:
  title: API Evangelist conversational phrasing for OData Service for namespace microsoft.graph Identity…
  version: 1.0.0
extends: openapi/microsoft-entra-identityprotection-riskyserviceprincipal-api-openapi.yml
actions:
- target: $.info
  update:
    x-apievangelist-phrasing:
      method: generated
      generated: '2026-11-15'
      generator: build-phrasing.py
      label: Generated by API Evangelist
      operations: 14
- target: $.paths['/identityProtection/riskyServicePrincipals'].get
  update:
    x-apievangelist-phrasing:
      intent: List risky service principals
      effect: read
      questions:
      - Which service principals are flagged as risky?
      - Can I filter risky service principals by risk level?
      instructions:
      - text: List risky service principals.
      - text: Show risky service principals matching {filter}.
        slots:
          filter: query.$filter
      method: generated
      generated: '2026-11-15'
- target: $.paths['/identityProtection/riskyServicePrincipals'].post
  update:
    x-apievangelist-phrasing:
      intent: Flag a service principal as risky
      effect: write
      questions:
      - How do I mark a service principal as risky?
      - Can I set the risk level when creating a risky service principal?
      instructions:
      - text: Create a risky service principal named {displayName} with app {appId}.
        slots:
          displayName: requestBody.displayName
          appId: requestBody.appId
      - text: Flag service principal {displayName} as risky at level {riskLevel}.
        slots:
          displayName: requestBody.displayName
          riskLevel: requestBody.riskLevel
      method: generated
      generated: '2026-11-15'
- target: $.paths['/identityProtection/riskyServicePrincipals/{riskyServicePrincipal-id}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get a risky service principal
      effect: read
      questions:
      - What risk level and state does a specific service principal have?
      - Can I see the risk history of one risky service principal?
      instructions:
      - text: Get risky service principal {riskyServicePrincipal}.
        slots:
          riskyServicePrincipal: path.riskyServicePrincipal-id
      - text: Show the risk state of service principal {riskyServicePrincipal}.
        slots:
          riskyServicePrincipal: path.riskyServicePrincipal-id
      method: generated
      generated: '2026-11-15'
- target: $.paths['/identityProtection/riskyServicePrincipals/{riskyServicePrincipal-id}'].delete
  update:
    x-apievangelist-phrasing:
      intent: Dismiss a risky service principal
      effect: destructive
      questions:
      - How do I dismiss a risky service principal?
      - Can I remove a risky service principal from the list?
      instructions:
      - text: Dismiss risky service principal {riskyServicePrincipal}.
        slots:
          riskyServicePrincipal: path.riskyServicePrincipal-id
      - text: Remove the risky flag from service principal {riskyServicePrincipal}.
        slots:
          riskyServicePrincipal: path.riskyServicePrincipal-id
      method: generated
      generated: '2026-11-15'
- target: $.paths['/identityProtection/riskyServicePrincipals/{riskyServicePrincipal-id}'].patch
  update:
    x-apievangelist-phrasing:
      intent: Update a risky service principal
      effect: write
      questions:
      - Can I change the risk level of a flagged service principal?
      - How do I set the risk state of a service principal?
      instructions:
      - text: Set the risk level of {riskyServicePrincipal} to {riskLevel}.
        slots:
          riskyServicePrincipal: path.riskyServicePrincipal-id
          riskLevel: requestBody.riskLevel
      - text: Mark service principal {riskyServicePrincipal} as confirmed safe.
        slots:
          riskyServicePrincipal: path.riskyServicePrincipal-id
      method: generated
      generated: '2026-11-15'
- target: $.paths['/identityProtection/riskyServicePrincipals/{riskyServicePrincipal-id}/history'].get
  update:
    x-apievangelist-phrasing:
      intent: List risk history of a service principal
      effect: read
      questions:
      - What risk events have happened to a service principal over time?
      - Can I see the risk history of one flagged service principal?
      instructions:
      - text: List the risk history of {riskyServicePrincipal}.
        slots:
          riskyServicePrincipal: path.riskyServicePrincipal-id
      - text: Show risk events for service principal {riskyServicePrincipal}.
        slots:
          riskyServicePrincipal: path.riskyServicePrincipal-id
      method: generated
      generated: '2026-11-15'
- target: $.paths['/identityProtection/riskyServicePrincipals/{riskyServicePrincipal-id}/history'].post
  update:
    x-apievangelist-phrasing:
      intent: Record a risk event for a service principal
      effect: write
      questions:
      - How do I log a risk event against a service principal?
      - Can I record who changed a service principal's risk state?
      instructions:
      - text: Record a risk event {activity} for {riskyServicePrincipal} by {initiatedBy}.
        slots:
          activity: requestBody.activity
          riskyServicePrincipal: path.riskyServicePrincipal-id
          initiatedBy: requestBody.initiatedBy
      - text: Log a risk history entry on service principal {riskyServicePrincipal}.
        slots:
          riskyServicePrincipal: path.riskyServicePrincipal-id
      method: generated
      generated: '2026-11-15'
- target: $.paths['/identityProtection/riskyServicePrincipals/{riskyServicePrincipal-id}/history/{riskyServicePrincipalHistoryItem-id}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get a risk history event
      effect: read
      questions:
      - What details are in one risk history event?
      - Can I read a single risk event for a service principal?
      instructions:
      - text: Get risk history event {historyItem} of {riskyServicePrincipal}.
        slots:
          historyItem: path.riskyServicePrincipalHistoryItem-id
          riskyServicePrincipal: path.riskyServicePrincipal-id
      - text: Show the risk event {historyItem} for service principal {riskyServicePrincipal}.
        slots:
          historyItem: path.riskyServicePrincipalHistoryItem-id
          riskyServicePrincipal: path.riskyServicePrincipal-id
      method: generated
      generated: '2026-11-15'
- target: $.paths['/identityProtection/riskyServicePrincipals/{riskyServicePrincipal-id}/history/{riskyServicePrincipalHistoryItem-id}'].delete
  update:
    x-apievangelist-phrasing:
      intent: Delete a risk history event
      effect: destructive
      questions:
      - How do I remove a risk history event?
      - Can I delete one risk event from a service principal?
      instructions:
      - text: Delete risk history event {historyItem} from {riskyServicePrincipal}.
        slots:
          historyItem: path.riskyServicePrincipalHistoryItem-id
          riskyServicePrincipal: path.riskyServicePrincipal-id
      - text: Remove risk event {historyItem} for service principal {riskyServicePrincipal}.
        slots:
          historyItem: path.riskyServicePrincipalHistoryItem-id
          riskyServicePrincipal: path.riskyServicePrincipal-id
      method: generated
      generated: '2026-11-15'
- target: $.paths['/identityProtection/riskyServicePrincipals/{riskyServicePrincipal-id}/history/{riskyServicePrincipalHistoryItem-id}'].patch
  update:
    x-apievangelist-phrasing:
      intent: Update a risk history event
      effect: write
      questions:
      - Can I edit a risk history event?
      - How do I change the actor on a risk event?
      instructions:
      - text: Update risk history event {historyItem} of {riskyServicePrincipal} to actor {initiatedBy}.
        slots:
          historyItem: path.riskyServicePrincipalHistoryItem-id
          riskyServicePrincipal: path.riskyServicePrincipal-id
          initiatedBy: requestBody.initiatedBy
      - text: Change the risk event {historyItem} on service principal {riskyServicePrincipal}.
        slots:
          historyItem: path.riskyServicePrincipalHistoryItem-id
          riskyServicePrincipal: path.riskyServicePrincipal-id
      method: generated
      generated: '2026-11-15'
- target: $.paths['/identityProtection/riskyServicePrincipals/{riskyServicePrincipal-id}/history/$count'].get
  update:
    x-apievangelist-phrasing:
      intent: Count risk history events for a service principal
      effect: read
      questions:
      - How many risk history events exist for one service principal?
      - Can I count risk events for a flagged service principal?
      instructions:
      - text: Count the risk history events for {riskyServicePrincipal}.
        slots:
          riskyServicePrincipal: path.riskyServicePrincipal-id
      - text: Tell me how many risk events service principal {riskyServicePrincipal} has.
        slots:
          riskyServicePrincipal: path.riskyServicePrincipal-id
      method: generated
      generated: '2026-11-15'
- target: $.paths['/identityProtection/riskyServicePrincipals/$count'].get
  update:
    x-apievangelist-phrasing:
      intent: Count risky service principals
      effect: read
      questions:
      - How many service principals are flagged as risky?
      - Can I get the total number of risky service principals?
      instructions:
      - text: Count all risky service principals.
      - text: Tell me how many service principals are risky.
      method: generated
      generated: '2026-11-15'
- target: $.paths['/identityProtection/riskyServicePrincipals/confirmCompromised'].post
  update:
    x-apievangelist-phrasing:
      intent: Confirm risky service principals as compromised
      effect: write
      questions:
      - How do I raise the risk level of a service principal to high?
      - Can I mark several risky service principals as compromised at once?
      instructions:
      - text: Confirm the risky service principals with ids {servicePrincipalIds} as compromised.
        slots:
          servicePrincipalIds: requestBody.servicePrincipalIds
      - text: Set the risk level of risky service principals {servicePrincipalIds} to high.
        slots:
          servicePrincipalIds: requestBody.servicePrincipalIds
      method: generated
      generated: '2026-11-15'
- target: $.paths['/identityProtection/riskyServicePrincipals/dismiss'].post
  update:
    x-apievangelist-phrasing:
      intent: Dismiss risk on service principals
      effect: write
      questions:
      - How do I dismiss the risk on flagged service principals?
      - Can I clear risk from up to 60 service principals in one request?
      instructions:
      - text: Dismiss the risk on service principals {servicePrincipalIds}.
        slots:
          servicePrincipalIds: requestBody.servicePrincipalIds
      - text: Clear risk from {servicePrincipalIds} and set their risk level to none.
        slots:
          servicePrincipalIds: requestBody.servicePrincipalIds
      method: generated
      generated: '2026-11-15'

Work with this as data

Every overlay here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for openapi overlays

4 MCP tools reach this
  • find_overlaysBrowse and filter every overlay in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This overlay
curl "https://apis.io/api/v1/overlays/microsoft-entra-identityprotection-riskyserviceprincipal-api-phrasing-overlay"
All openapi overlays
curl "https://apis.io/api/v1/overlays?limit=25"

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.

A second provider on the same verified email joins the account you already have.