Data loss prevention example - Block HTTP requests in copilots


Power Virtual Agents capabilities and features are now part of Microsoft Copilot Studio following significant investments in generative AI and enhanced integrations across Microsoft Copilot.

Some articles and screenshots may refer to Power Virtual Agents while we update documentation and training content.

Copilot makers in your organization can make HTTP requests with the Send HTTP request node or by extending Classic chatbots with Bot Framework Composer.

You can use data loss prevention policies to prevent copilot makers from configuring HTTP requests to help prevent data exfiltration.

See the Configure data loss prevention for Microsoft Copilot Studio copilots topic for information about other DLP-related connectors.

Configure DLP to block HTTP requests in the Power Platform admin center

Select or create a policy

  1. In the Power Platform admin center, under Policies, select Data policies.

  2. Create a new policy, or choose an existing policy to edit:

    1. If you want to create a new policy, select New policy.

    2. If you want to choose an existing policy to edit, select the policy and select Edit policy.

  3. Enter a name for the policy then select Next. You can change the name later.

Choose an environment

  1. Choose one or more environments to add to your policy.

  2. Select + Add to policy.

  3. Select Next.

Add the connector

  1. Use the search box to find the HTTP connector.

    Screenshot of the HTTP connector.

  2. Select the connector's More actions menu (), and then select Block.

    Screenshot of the Power Platform admin center showing the contextual menu for a connector available from the menu icon.

  3. If admins want to allow or deny specific HTTP endpoints, they can use DLP connector endpoint filtering instead of blocking all HTTP calls.

  4. Select Next.

  5. Review your policy, then select Update policy to apply the DLP changes.

    Screenshot of the review screen when creating a DLP policy

Confirm policy enforcement

You can confirm that this connector is being used in the DLP policy from the Microsoft Copilot Studio.

First, open your copilot from the environment where the DLP policy is applied. Go to the authoring canvas, create a new topic, add a Send HTTP request node (minimally populating the URL property) and then Save your Topic.

If the policy is enforced, you'll see an error banner with a Details button. On the Channels page, expand error link and select the Download button to see details.

Screenshot of the banner that indicates DLP policies are in effect  and that authentication must be configured.

In the details file, a row will appear describing the violation. A violation will occur if the HTTP connector is blocked, if the HTTP connector is in a different data group than other connectors in your DLP policy, or if the HTTP policy is not blocked but an endpoint is denied.

Screenshot of a downloaded excel file showing details of DLP policy violations including HTTP connector.