Share via

How to retrieve detailed Microsoft DLP incident data via API?

Jozko Mrkvicka 0 Reputation points
2026-02-12T13:38:38.2733333+00:00

Hi everyone,

I’m currently trying to retrieve detailed information about Microsoft Data Loss Prevention (DLP) incidents via API and I’m running into some limitations.

The incidents are clearly visible in the Microsoft Defender portal (e.g., DLP policy matches for Teams conversations), but they are not returned by the Defender for Endpoint API (api.security.microsoft.com). That makes sense, since these incidents originate from Microsoft Data Loss Prevention rather than MDE.

So I switched to Microsoft Graph API and started using:

GET https://graph.microsoft.com/v1.0/security/incidents

This does return the incidents, but the response is very minimal — only high-level metadata (ID, severity, status, etc.). I’m not seeing detailed DLP-specific information such as:

  • Matched policy details
  • Exact rule triggered
  • Content match information
  • Location/context (e.g., Teams message specifics)
  • Evidence data

In the Defender UI, all this detail is visible, but I can’t seem to retrieve it through Graph.

Has anyone successfully extracted full DLP incident details via API?

Any guidance or real-world experience would be greatly appreciated.

Thanks!

Microsoft Security | Microsoft Graph
{count} votes

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.