PurviewHow-to

Purview endpoint DLP settings: USB, printers, cloud uploads, restricted apps and browsers

How Purview endpoint DLP settings and policy actions fit together: USB and printer groups, service domains, unallowed browsers and restricted apps, with a tested rollout.

Endpoint DLP decisions happen in two places: global endpoint settings that define your groups, browsers, domains and apps, and the policy rules that decide what happens when sensitive content meets them. Most "it didn't block" tickets come from a gap between the two. In this post I'll walk through the settings that matter for USB, printing, cloud uploads and apps, then build a rule that uses them and test it.

How this guide is organized: How it works → Step-by-step → Verify → Tips and gotchasFlow diagram of the article's sections in reading order: 1. How it works. 2. Step-by-step (5 steps: Set the global behaviors; Control browsers and cloud uploads; Define USB, printer and network share groups; Restrict apps; Build the rule). 3. Verify. 4. Tips and gotchas. Toolbox: Get-VpnConnection, onedrive.exe, C:\Users\*\Desktop\, %SystemDrive%.1How it works2Step-by-step3Verify4Tips and gotchas1Set the globalbehaviors2Control browsersand cloud uploads3Define USB, printerand network shar…4Restrict apps5Build the ruleTOOLBOXGet-VpnConnectiononedrive.exeC:\Users\*\Desktop\%SystemDrive%How this guide is organized: How it works → Step-by-step → Verify → Tips and gotchasFlow diagram of the article's sections in reading order: 1. How it works. 2. Step-by-step (5 steps: Set the global behaviors; Control browsers and cloud uploads; Define USB, printer and network share groups; Restrict apps; Build the rule). 3. Verify. 4. Tips and gotchas. Toolbox: Get-VpnConnection, onedrive.exe, C:\Users\*\Desktop\, %SystemDrive%.1How it works2Step-by-step1Set the global behaviors2Control browsers and cloud uploads3Define USB, printer and network share groups4Restrict apps5Build the rule3Verify4Tips and gotchasTOOLBOXGet-VpnConnectiononedrive.exeC:\Users\*\Desktop\%SystemDrive%
At a glance: how this guide is organized · 5 steps · 4 key settings and tools

How it works#

Endpoint settings apply to every DLP policy that includes the Devices location. In the Microsoft Purview portal they're under Data loss prevention › Overview › Data loss prevention settings › Endpoint settings. In a rule, the action Audit or restrict activities on devices sets an action per activity: Audit only, Block with override or Block, plus Allow and Off modes on devices running anti-malware client 4.18.25010 or newer. A policy applies only when both the user and the device are in its scope.

ActivityUses these settings
Upload to a restricted cloud service domain or access from an unallowed browserService domains, unallowed browsers, sensitive service domain groups
Paste to supported browsersSensitive service domain groups
Copy to USB removable deviceRemovable USB device groups
PrintPrinter groups
Copy to a network shareNetwork share groups
Copy or move using unallowed Bluetooth appUnallowed Bluetooth apps
Access by restricted appsRestricted apps and app groups

Copy to clipboard and Copy or move using RDP (Windows only) are also available. Devices must be onboarded and healthy first; see fixing endpoint DLP device status.

Step-by-step#

Building endpoint DLP restrictions: settings first, then the ruleStep 1: Set the global behaviors. Keep file path exclusions short; Always audit file activity is on by default Step 2: Control browsers and cloud uploads. Unallowed browsers, service domains in Block or Allow mode, sensitive domain groups Step 3: Define USB, printer and network share groups. Groups for exceptions, such as approved backup drives or Legal printers Step 4: Restrict apps. Executable names only; Auto-quarantine for cloud sync apps such as onedrive.exe Step 5: Build the rule and run it in simulation. Devices location, an action per activity and group exceptions; turn on tips Step 6: Allow time to sync, then test. About an hour for policy updates; 24 hours for changes to printer groups1Set the global behaviorsKeep file path exclusions short;Always audit file activity is on bydefault2Control browsers and clouduploadsUnallowed browsers, servicedomains in Block or Allow mode,sensitive domain groups3Define USB, printer andnetwork share groupsGroups for exceptions, such asapproved backup drives or Legalprinters4Restrict appsExecutable names only;Auto-quarantine for cloud syncapps such as onedrive.exe5Build the rule and run it insimulationDevices location, an action peractivity and group exceptions; turnon tips6Allow time to sync, then testAbout an hour for policy updates;24 hours for changes to printergroupsBuilding endpoint DLP restrictions: settings first, then the ruleStep 1: Set the global behaviors. Keep file path exclusions short; Always audit file activity is on by default Step 2: Control browsers and cloud uploads. Unallowed browsers, service domains in Block or Allow mode, sensitive domain groups Step 3: Define USB, printer and network share groups. Groups for exceptions, such as approved backup drives or Legal printers Step 4: Restrict apps. Executable names only; Auto-quarantine for cloud sync apps such as onedrive.exe Step 5: Build the rule and run it in simulation. Devices location, an action per activity and group exceptions; turn on tips Step 6: Allow time to sync, then test. About an hour for policy updates; 24 hours for changes to printer groups1Set the global behaviorsKeep file path exclusions short; Always audit fileactivity is on by default2Control browsers and cloud uploadsUnallowed browsers, service domains in Block or Allowmode, sensitive domain groups3Define USB, printer and network share groupsGroups for exceptions, such as approved backup drivesor Legal printers4Restrict appsExecutable names only; Auto-quarantine for cloud syncapps such as onedrive.exe5Build the rule and run it in simulationDevices location, an action per activity and groupexceptions; turn on tips6Allow time to sync, then testAbout an hour for policy updates; 24 hours for changesto printer groups
Figure 1 · Process Building endpoint DLP restrictions: settings first, then the rule. Global endpoint settings define the groups, browsers, domains and apps; the rule decides what happens to them. Set them up in this order.

1. Set the global behaviors#

  • File path exclusions for Windows: files in excluded paths are neither audited nor protected, so keep the list short. A path ending in \ covers only files directly in that folder, \* covers only subfolders, and no suffix covers both; wildcards such as C:\Users\*\Desktop\ and system variables such as %SystemDrive% work.
  • Always audit file activity for devices is on by default and audits Office, PDF and CSV activity even without a policy match. Turn it off only if you want auditing limited to devices in an active policy.
  • Business justification in policy tips: show built-in options, a custom text box or both, and customize up to five options users see when they override a block.

2. Control browsers and cloud uploads#

  • Unallowed browsers (executable names on Windows, full paths on macOS) can't open files that match an enforced policy whose upload restriction is Block or Block with override. Users get a toast asking them to open the file in Microsoft Edge.
  • Service domains run in Block mode (listed domains are restricted) or Allow mode (everything except listed domains is restricted; add at least one domain before it enforces). Enter FQDNs without the protocol and use *. for subdomains. The list applies only to uploads from Edge, or from Chrome and Firefox with the Microsoft Purview extension, and not to pasting. Microsoft also notes that the upload action on devices needs the sensitive service domains list configured.
  • Sensitive service domain groups give specific sites their own actions for printing, copying, saving, uploading and pasting: up to 100 sites per group and 150 groups. A built-in Generative AI websites group can't be edited.

For Chrome and Firefox, deploy the extension first: endpoint DLP in Chrome and Firefox.

3. Define USB, printer and network share groups#

  • Removable USB device groups: up to 20 groups of 50 devices, for exceptions such as approved backup drives. Activity explorer records the manufacturer, model and serial number of the removable media in USB copy events, which makes identifying approved drives easy.
  • Printer groups: up to 20 groups of 50 printers, identified by friendly name (as shown in Device Manager), USB printer with vendor and product ID, IP range, print to file, Universal Print, corporate print server queue or print to local. The last four are Windows only. Microsoft advises against combining several of the type parameters (USB printer, IP range, print to file, Universal Print, corporate printer, print to local) for one printer.
  • Network share groups and VPN settings (VPN is Windows only) let a rule treat specific shares or VPN connections differently. Get-VpnConnection on a client shows the VPN details you need.

4. Restrict apps#

Add apps to Restricted apps by executable name only on Windows, never a path. Restricted app groups hold up to 50 apps each, with up to 10 groups, and their actions override the restricted apps list when both are in the same rule. For cloud sync apps such as onedrive.exe, Auto-quarantine moves a sensitive file to an admin-defined folder instead of producing a stream of block notifications.

5. Build the rule#

Create a policy with the Devices location, a condition such as Content contains a sensitive info type, and the action Audit or restrict activities on devices › File activities for all apps › Apply restrictions to specific activity. A sensible starting point:

ActivityDefault actionGroup exception
Copy to USB removable deviceBlockApproved drives: Audit only
PrintBlock with overrideLegal printers: Allow
Upload to a restricted cloud service domain or access from an unallowed browserBlockPartner site group: Audit only
Copy to clipboardAudit onlyNone

Turn on user notifications so users get a toast explaining the block; newer anti-malware clients (4.18.25010 or later) also support a hyperlink in warn and block toasts. Run the policy in simulation mode with tips first. Policy updates generally take about an hour to sync; Microsoft notes that changes to authorized groups, such as printer groups, need 24 hours.

Verify#

  • On a pilot device, copy a dummy sensitive file to an unapproved USB drive (blocked with a toast) and to an approved one (allowed and audited).
  • Print it to an ordinary printer (override prompt with justification) and to a Legal printer (allowed).
  • Upload it from Edge to a blocked domain (blocked), then open it in an unallowed browser (redirected to Edge).
  • In Activity explorer, the Endpoint DLP activities filter set shows each event with the rule, the enforcement and, for USB, the device details.

Tips and gotchas#

  • Endpoint DLP is content-aware, not device control. To block USB storage regardless of content, use Defender device control.
  • Virtual desktops: USB storage is treated as a network share there, so include Copy to a network share.
  • Unsaved content isn't inspected. If a user saves a document straight to USB without storing it locally first, endpoint DLP can't classify it.
  • Clipboard blocks still allow copy and paste within the same Office file.
  • Policy design and alerts: see designing Purview DLP policies and investigating DLP alerts.

References#

Written and checked against current Microsoft Learn documentation. Test changes with a pilot group before rolling them out to everyone, and if an admin center path has moved since, search for the setting name instead.

Spotted a mistake, or did this fix work differently for you? Email me or message me on LinkedIn — corrections are credited in the article.

Written by

Omer Eltayeb

Intune Subject Matter Expert in Cairo, Egypt, former Microsoft Cloud Solutions Architect, Microsoft Certified Trainer and Microsoft Innovative Educator Expert (2024–26) and Microsoft Elevate Educator Expert (2026–27). I share practical, step-by-step guides, study plans, scripts and toolkits for Microsoft Intune, Configuration Manager, Microsoft Entra ID, Microsoft Defender, Exchange and Microsoft 365 with the community.

Microsoft Certified Trainer (MCT) 2026Microsoft Innovative Educator Expert 2025–2026Microsoft Elevate Educator Expert 2026–2027ISC2 Certified Information Systems Security Professional (CISSP)Microsoft 365 Certified: Enterprise Administrator Expert (MS-102)