Implement data loss prevention and retention
DLP decides what may happen to sensitive content; retention decides how long content exists
Picture one requirement with two halves: customer card numbers must never leave the company by email, and every finance document must be kept for seven years. The first half is DLP (data loss prevention) work, because a Microsoft Purview DLP policy monitors the activities users take on sensitive items and, when the policy conditions are met, takes protective actions, from a policy tip that warns the user to a block with or without an override. The second half is retention work, because retention policies and retention labels apply retention settings that retain content, delete it, or retain it and then delete it. To avoid crossing the two families, read the requirement's verb first: warn, block or restrict points to a DLP rule, the object that holds a DLP policy's conditions and actions, while keep, delete or review before deletion points to retention settings.
The domain unfolds in three steps, two for DLP and one for retention
DLP takes two of the three steps: every DLP policy shares one model, and the Devices location adds device settings of its own. Create and configure data loss prevention policies covers that shared model: you pick one or more locations for DLP to monitor, and the conditions and actions are defined in an object called a rule; it also covers DLP roles, Adaptive Protection (which brings the insider risk level that Insider Risk Management assigns to a user into DLP policies), rule precedence, and Microsoft Defender for Cloud Apps file policies, which retire on January 6, 2027 as file-based data protection moves to Microsoft Purview. Implement and monitor Microsoft Purview Endpoint DLP covers the Devices location: Endpoint DLP extends DLP activity monitoring and protection to Windows 10, Windows 11, macOS and certain Windows Server devices once onboarded (onboarding brings their telemetry into Microsoft Purview solutions like Endpoint DLP), and a device rule can audit or restrict activities such as copying to a USB removable device, copying to a network share, printing and copying to the clipboard. Implement and manage retention covers the second family: a retention policy assigns the same retention settings at a site or mailbox level, while a retention label assigns them at an item level, and only labels can start the period at an event, end it with a disposition review (a review before permanent deletion) or mark the item as a record. A retention label is not a sensitivity label, which classifies and protects data with settings such as encryption and content markings (Implement and manage sensitivity labels in Microsoft Purview); a document or email can carry both. The retention topic also covers retention label policies that publish labels to users or auto-apply them, adaptive and static scopes, precedence, and recovering retained content.
When several settings match, check which of three precedence models applies
No single "most restrictive wins" rule spans this domain. In hosted service locations such as Exchange, SharePoint and OneDrive, rules are processed in priority order and the first rule evaluated that has the most restrictive action is enforced, so one rule applies. On devices, Endpoint DLP applies the aggregate or sum of the most restrictive actions per activity: one matching policy's print block and another's USB block both apply. Retention uses a third model, the principles of retention, including: no single policy or label wins; how long an item is retained and when it is deleted are calculated independently, retention takes precedence over permanent deletion, and the longest retention period wins. More factors decide when an item is permanently deleted (Implement and manage retention). To explain a retention outcome, start with Policy lookup, which finds the retention policies assigned to specific users, sites and Microsoft 365 groups.
DLP policies by location, and retention: what each decides
| Control | What it decides | Where it applies | When several settings match | Drill into |
|---|---|---|---|---|
| DLP policy, locations other than Devices | Which protective action runs when an item matches a rule's conditions | The locations you pick other than Devices, such as Exchange email, SharePoint sites, OneDrive accounts and Teams chat and channel messages | Hosted service locations: the first rule evaluated with the most restrictive action is enforced | Create and configure data loss prevention policies |
| DLP policy, Devices location (Endpoint DLP) | Which user activities on a sensitive item are audited or restricted, such as USB copy, printing or clipboard copy | Onboarded Windows 10, Windows 11, macOS and certain Windows Server devices | The aggregate of the most restrictive actions applies, per activity | Implement and monitor Microsoft Purview Endpoint DLP |
| Retention policy and retention label | Whether content is retained, deleted, or retained and then deleted | Retention policy: a site or mailbox level; retention label: an individual item | Principles of retention: retention beats permanent deletion, and the longest retention period wins | Implement and manage retention |