Where can API documentation be found for Purview Data Loss Prevention to create and manage DLP policies?

Jaya Prakash Kumar Nalla 0 Reputation points
2024-11-21T16:04:40.68+00:00

I'm looking for API documentation to create and manage DLP policies in Purview.

Note: I'm not looking for APIs for DLP alerts.

Thanks

Azure Information Protection
Azure Information Protection
An Azure service that is used to control and help secure email, documents, and sensitive data that are shared outside the company.
551 questions
Microsoft Purview
Microsoft Purview
A Microsoft data governance service that helps manage and govern on-premises, multicloud, and software-as-a-service data. Previously known as Azure Purview.
1,247 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Vasil Michev 108.6K Reputation points MVP
    2024-11-21T16:08:33.61+00:00

    There is no API for that currently, but you can use PowerShell cmdlets from the Exchange Online/SCC module: https://learn.microsoft.com/en-us/powershell/exchange/connect-to-scc-powershell?view=exchange-ps

    For example, use the New-DlpCompliancePolicy cmdlet to create a new DLP policy: https://learn.microsoft.com/en-us/powershell/module/exchange/new-dlpcompliancepolicy?view=exchange-ps

    0 comments No comments

Your answer

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