The Microsoft Graph endpoint GET https://graph.microsoft.com/beta/security/dataLossPrevention/policies is not documented in the current Microsoft Graph security or Microsoft Purview data security and governance API surface and should be treated as deprecated/unsupported.
For working with Microsoft Purview Data Loss Prevention (DLP) today, the supported approach is:
- Use Microsoft Purview itself (via the Microsoft Purview compliance/administration portals) to define and manage DLP policies.
- For application integration, use the Microsoft Purview data security and governance APIs, which expose Purview’s policy evaluation engine rather than raw DLP policy objects.
- These APIs allow applications to:
- Retrieve the protection scope for a user or tenant.
- Send user content to Microsoft Purview for processing.
- Determine at runtime whether user activity should be allowed or restricted based on configured policies.
- Policy enforcement depends on configured Collection Policies and Data Loss Prevention (DLP) Policies in Purview. If these are not configured for a user/tenant, the protection-scope and process-content APIs will return empty scopes or no DLP actions.
Because the current documentation only describes policy evaluation and enforcement flows (for example, via userProtectionScopeContainer-compute and related process-content APIs) and does not expose a supported Graph resource for listing DLP policies, there is no documented replacement Graph endpoint for .../security/dataLossPrevention/policies in the provided material.
For scenarios such as:
- Determining what protections apply to a user or tenant: use the Compute protection scopes API as documented under Microsoft Purview data security and governance APIs.
- Enforcing DLP decisions in custom apps: send content to Purview for processing and act on the returned DLP actions.
Management of the DLP policies themselves remains in the Purview portals rather than through a documented Microsoft Graph policy-listing endpoint in the referenced documentation.
References: