# Protect sensitive files in other cloud apps

- URL: https://m365playbooks.com/playbooks/protect-sensitive-files-in-other-cloud-apps/
- Topic: Data Loss Prevention (Program)
- Product: Purview, Exchange, SharePoint, Teams, Copilot
- Stage: Deploy
- Last reviewed: November 19, 2026
- Version: 1
- Prepared by: Sev Derghazarian

## Overview

Most organizations sanction a few cloud apps beyond Microsoft 365, such as Box, Dropbox, Google Workspace or Salesforce, and sensitive files live there too. Microsoft Defender for Cloud Apps connects to them, and Microsoft Purview DLP can now apply your register categories in them directly. The same service can control browser sessions, so people on unmanaged devices can work in an app without downloading what's sensitive.

Technically, you connect each sanctioned app to Defender for Cloud Apps with an API connector, then create Purview DLP policies for the non-Microsoft app locations (in preview), starting with alerts only. For unmanaged devices, a Conditional Access policy routes sessions to Defender for Cloud Apps, where a session policy blocks or protects downloads of sensitive files. Defender for Cloud Apps file policies and the DLP Instances location retire on January 6, 2027, so new policies belong in Purview.

- You'll end up with: Purview DLP policies covering each sanctioned non-Microsoft app, with alerts the security team acts on, and sensitive downloads to unmanaged devices blocked or protected.
- Duration: 4 to 6 weeks
- Effort: About 8 to 12 person-days
- Complexity: Medium
- Who's in the room: Purview admin, Defender for Cloud Apps admin, Conditional Access admin, app owners for each connected app, security analyst
- Beyond E5: Nothing beyond Microsoft 365 E5
- If you skip it: Without it, sanctioned apps outside Microsoft 365 become the unprotected route for sensitive files.

## Before you start

- [Protect sensitive information in email and files](https://m365playbooks.com/playbooks/protect-sensitive-information-in-email-and-files/) (live)
- **List the sanctioned apps** Confirm which non-Microsoft cloud apps hold sensitive information and who owns each. Cloud Discovery in Defender for Cloud Apps shows what's actually in use.
- **Check for existing file policies** Defender for Cloud Apps file policies retire on January 6, 2027. Policies in Defender for Cloud Apps and Purview can't coexist for the same app, and the migration tool doesn't move non-Microsoft app policies, so list what exists before you recreate it.
- Use the preview locations now, or wait?

  **Decision: Use the preview locations now, or wait?** Recommended default: Start with one app now, alerts only, and move existing file policies before January 2027.
  The Purview locations for non-Microsoft apps are in preview and rolling out in phases. The Defender for Cloud Apps file policies they replace retire on January 6, 2027.
  Other options: Wait for general availability. Decided by: Security lead.

**Rollout approach:** By workload (Pilot size: One app, alerts only). Policies for non-Microsoft apps can't be scoped to groups, so you can't pilot them on a subset of users. Rolling out one app at a time, with alerts before actions, limits each change to one app owner and one set of users.

## Pilot to production

### 1. Connect the apps (1 week)

Connect each sanctioned app to Defender for Cloud Apps with its API connector, and check the first scan completes.

- Who: Defender for Cloud Apps admin with each app owner
- Produces: Connected apps with a completed scan
- Move on when: Each app in scope shows as connected, and its files appear.

**How to do it:** Each app has its own connector steps and admin account requirements; follow the Microsoft Learn guide for that app. A full scan can take hours or days in a large tenant.

- [ ] Is every app in scope connected?

### 2. Alert only, one app at a time (2 to 3 weeks)

Create a Purview DLP policy for the first app, with rules for your register categories that raise alerts and take no action. Review alerts and Activity explorer with the category owners.

- Who: Purview admin with the security analyst
- Produces: Tuned rules and a list of known false positives
- Move on when: Alerts are reviewed and known false positives tuned out.

**How to do it:** Simulation mode isn't supported for these locations, and neither are policy tips or overrides, so alerts are how you test. Policies for non-Microsoft apps use advanced rules, apply to the whole directory, and can't be combined with Microsoft 365 locations.

- **If you** Expect people to see a policy tip or override. What tends to happen: Actions happen without warning, and people raise tickets.. A better approach: Tell app users what will change, and how to ask for help, before turning on actions.

- [ ] Has every rule run in alert-only mode on real files?

### 3. Turn on actions

Add actions for the categories your register marks highest. The available actions vary by app. Retire any matching Defender for Cloud Apps file policy once the Purview policy is validated.

- Who: Purview admin with the app owner
- Produces: Enforced policies for the app, and its old file policies retired
- Move on when: No legitimate work is blocked and no equivalent policy runs in both products.

- **If you** Run equivalent policies in Defender for Cloud Apps and Purview. What tends to happen: The policies conflict, and results become hard to explain.. A better approach: Validate the Purview policy, then disable the old file policy.

- [ ] Are all old file policies for this app retired?

### 4. Protect downloads to unmanaged devices (2 weeks)

Route sessions from unmanaged devices to Defender for Cloud Apps with a Conditional Access policy in report-only mode, then add a session policy that blocks or protects downloads of sensitive files.

- Who: Conditional Access admin with the Defender for Cloud Apps admin
- Produces: Sensitive downloads to unmanaged devices blocked or protected
- Move on when: Report-only results match the users and apps you expected.

**Decision: Block sensitive downloads, or protect them?** Recommended default: Protect sensitive files with a label on download, and block only the categories your register marks highest.
A session policy can block a download, or apply a sensitivity label so the file stays protected after download. Labels apply to Word, Excel, PowerPoint and PDF files.
Other options: Block every download from unmanaged devices. Decided by: Security lead.

**How to do it:** Microsoft Edge applies session controls in the browser; other browsers are routed through a proxy. The Teams desktop app isn't supported for session controls.

- [ ] Is the Conditional Access policy out of report-only mode?

### 5. Extend app by app and hand over

Repeat the alert-only and action phases for each remaining app. Record each policy, its app owner and tuning decisions, and agree the Maintain cadence.

- Who: Purview admin
- Produces: Every sanctioned app covered, with documented policies
- Move on when: Operations owns the policies and the review cadence

- [ ] Is every app in scope covered and documented?

**Alongside every phase:** Review DLP alerts for each app weekly with its owner. Each alert either tunes a rule, confirms an action, or shows a new app that should be connected.

**What keeps it in place:** Policies for non-Microsoft apps apply to the whole directory and every connected instance of the app, so new users and new files are covered without per-user setup. The Conditional Access policy routes every session that matches it, so new unmanaged devices are covered too.

## How you'll know it's working

Capture a baseline before you start, or you won't be able to show the change.

- Sensitive files shared externally from connected apps (Where you see it: Purview Activity explorer; Good direction: Down)
- DLP alerts per app that lead to action (Where you see it: Purview alerts; Good direction: Up)
- Sensitive downloads to unmanaged devices (Where you see it: Defender for Cloud Apps activity log; Good direction: Down)

## Microsoft Learn

**Plan:**

- [Learn about data loss prevention](https://learn.microsoft.com/en-us/purview/dlp-learn-about-dlp)
- [DLP for non-Microsoft connected applications](https://learn.microsoft.com/en-us/purview/dlp-non-microsoft-connected-applications)
- [Migrate file policies to Microsoft Purview](https://learn.microsoft.com/en-us/defender-cloud-apps/migrate-file-policies-to-purview)
- [Microsoft Defender service description](https://learn.microsoft.com/en-us/office365/servicedescriptions/microsoft-365-service-descriptions/microsoft-365-tenantlevel-services-licensing-guidance/microsoft-defender-service-description)

**Configure:**

- [Connect apps to get visibility and control](https://learn.microsoft.com/en-us/defender-cloud-apps/enable-instant-visibility-protection-and-governance-actions-for-your-apps)
- [Conditional Access app control overview](https://learn.microsoft.com/en-us/defender-cloud-apps/proxy-intro-aad)
- [Create session policies](https://learn.microsoft.com/en-us/defender-cloud-apps/session-policy-aad)

## Changelog

- Version 1, 2026-11-19, Sev Derghazarian: Published.
