Microsoft Entra Identity Protection.risk Detection API

The identityProtection.riskDetection API from Microsoft Entra — 3 operation(s) for identityprotection.riskdetection.

GitHub OpenAPI

Operations 6

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

GET /identityProtection/riskDetections List risk detections · List riskDetections #
Ask an LLM
“Which risky sign-ins has Identity Protection detected?”
“Can I filter risk detections by risk level?”
Tell an agent
List all risk detections.
Show risk detections matching {filter}.
POST /identityProtection/riskDetections Report a custom risk detection · Create new navigation property to riskDetections for identityProtection #
Ask an LLM
“How do I add a custom risk detection for a user?”
“Can I set the risk level and state when reporting a risk?”
Tell an agent
Report a risk detection for user {user} with risk level {level}.
Add a custom risk detection for {user} at risk level {level} with detail {detail}.
GET /identityProtection/riskDetections/{riskDetection-id} Get a risk detection · Get riskDetection #
Ask an LLM
“What details are recorded for one risk detection?”
“Can I see the IP address and location of a detected risk?”
Tell an agent
Get risk detection {detection}.
Show the risk state and IP of detection {detection}.
PATCH /identityProtection/riskDetections/{riskDetection-id} Update a risk detection · Update the navigation property riskDetections in identityProtection #
Ask an LLM
“Can I change the risk state of a detection?”
“How do I mark a risk detection as remediated?”
Tell an agent
Set risk detection {detection} to state {state}.
Mark detection {detection} as remediated.
DELETE /identityProtection/riskDetections/{riskDetection-id} Delete a risk detection · Delete navigation property riskDetections for identityProtection #
Ask an LLM
“Can I remove a risk detection I added?”
“Is deleting a risk detection permanent?”
Tell an agent destructive · confirm first
Delete risk detection {detection}.
Remove the custom risk detection {detection}.
GET /identityProtection/riskDetections/$count Count risk detections · Get the number of the resource #
Ask an LLM
“How many risk detections exist?”
“Can I count risk detections matching a filter?”
Tell an agent
Count all risk detections.
Count risk detections matching {filter}.

Work with this as data

Every API 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 apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • 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 API
curl "https://apis.io/api/v1/apis/microsoft-entra:microsoft-entra-identityprotection-riskdetection-api"
All apis
curl "https://apis.io/api/v1/apis?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.

OpenAPI Specification

microsoft-entra-identityprotection-riskdetection-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: OData Service for namespace microsoft.graph Identity…
  description: This OData service is located at https://graph.microsoft.com/v1.0
  version: v1.0
  x-ms-generated-by:
    toolName: Microsoft.OpenApi.OData
    toolVersion: 0.0.0.0
servers:
- url: https://graph.microsoft.com/v1.0
tags:


# --- truncated at 32 KB (160 KB total) ---
# Full source: https://artifacts.apis.io/microsoft-entra/openapi/microsoft-entra-identityprotection-riskdetection-api-openapi.yml