Get started with Power Automate integration in Microsoft Purview DLP

Microsoft Power Automate is a workflow service that automates actions across applications and services. By using flows from templates or created manually, you can automate common tasks associated with these applications and services. Microsoft Purview Data Loss Prevention (DLP) can take various actions across locations on sensitive content identified as per DLP policies. With Power Automate integration, you can now trigger custom Power Automate workflows as a DLP rule action.

Tip

Get started with Microsoft Security Copilot to explore new ways to work smarter and faster using the power of AI. Learn more about Microsoft Security Copilot in Microsoft Purview.

Before you begin

Before you start using Power Automate integration in Microsoft Purview DLP, read the following information on subscription, licensing, permissions, and supported locations.

Subscriptions & licensing

Review the following subscription and licensing requirements for Microsoft Purview DLP and Power Automate.

Purview DLP

Power Automate integration in Microsoft Purview DLP is available for all existing DLP customers with no other Purview license requirements.

For information on licensing, see

Power Automate

The access premium connectors when configuring custom flows you need a Power Automate plan. A Power Automate licenses is not needed to access the templates.

Permissions

The following permissions apply when using Power Automate integration in Microsoft Purview DLP:

  • There is no change to required role for DLP policy authoring in Microsoft Purview portal to use Power Automate integration as a DLP rule action.
  • See Get started with Power Automate for information about Power Automate roles.

Supported locations in policy

Power Automate integration for DLP supports the following policy locations:

  • Exchange emails
  • Files in SharePoint Online & OneDrive
  • Windows devices (24H2 and above)

Create a workflow

Create a custom workflow using the DLP trigger provided as part of Microsoft Purview connector. You can create a workflow from any of the following experiences:

  • Power Automate portal
  • DLP rule authoring page: Add Start a Power Automate workflow as an action, and then create the workflow using a template or a custom workflow using DLP trigger.

You can select or update the Power Automate workflow linked to a DLP rule just like any other rule action.

Use a template

The following Power Automate template is available to support process automation for DLP rule violations:

Notify manager when a DLP policy is violated: Some organizations might need to have immediate management notification when a user violates a policy. When the Notify manager when a DLP policy is violated flow is configured and selected, the manager of the violating user is sent an email message with the following information about the event:

  • User name
  • Policy name

You can customize the sender and add additional information by editing the workflow in Power Automate.

Create a custom Power Automate flow

Some processes and workflows for your organization might not fit an available template. If no available template fits your organization's processes, you can create custom Power Automate flows to meet your specific needs. Power Automate flows are flexible and support extensive customization, but can require configuration to integrate with data loss prevention policies:

  1. Create a flow that performs one or more tasks after a data loss prevention event. For details on how to create an automated flow, see Create a flow in Power Automate.
  2. Select the Microsoft Purview connector: Search for and select the Microsoft Purview connector. For more information on connectors, see:  Connector reference overview.
  3. Choose data loss prevention triggers for your flow.
  4. Choose from available Power Automate connectors for your flow.

Share a Power Automate flow

By default, a Power Automate flow is only available to the user who created it. For other administrators to access and use a flow, the flow creator must share it. For information on how to share a flow, see: Share a cloud flow

Known issues and limitations

For files in SharePoint and OneDrive, Power Automate workflows are executed only for new or modified content. Preexisting files matching the rules don't trigger a flow.