Purview labels, DLP, retention and eDiscovery
Compare sensitivity labels, DLP, retention, audit and eDiscovery and explain why retention is not backup.
By Invicly Tech, , in Microsoft Entra & Microsoft 365 Administration. About 11 minutes to read.
In short
Microsoft Purview holds the data controls of Microsoft 365: sensitivity labels mark and protect content, data loss prevention (DLP) stops risky sharing, retention keeps or deletes content on a schedule, audit records who did what, and eDiscovery finds and holds content for legal cases. Each control answers a different question, so mixing them up leaves gaps. Retention is a compliance rule, not a backup: it does not give you fast, point-in-time restore of a whole site or mailbox.
Think of it like this: Labels are the stamps on a folder, DLP is the guard at the door who reads the stamps, retention is the records office schedule, audit is the visitor log and eDiscovery is the lawyer's request to pull and freeze files.
Explained simply
Microsoft Purview is where Microsoft 365 keeps its data protection and compliance tools. It is reached at purview.microsoft.com. The tools look similar at first because they all deal with documents and email, but each answers a different question.
A sensitivity label says how secret something is, like a Confidential stamp. It can also protect the file, for example by encrypting it so only staff can open it. Data loss prevention, or DLP, watches for sensitive data such as card numbers and warns or blocks when someone tries to share it in a risky way.
Retention decides how long content is kept. A policy might say: keep finance records for seven years, then delete them. Audit records who did what, such as who shared a file or changed a mailbox. eDiscovery lets legal teams search, hold and export content for a case.
People often think retention is a backup. It is not. Retention keeps copies so they can be found in a compliance search. It does not give you a quick button to put a whole site or mailbox back the way it was last Tuesday.
Many Purview features need Microsoft 365 E3, E5 or add-on licences, and automatic labelling or longer audit retention need more. If you have no tenant, you can design policies on paper and test them against the synthetic records in the examples.
Press Play on a diagram to walk through it one step at a time.
- Sensitivity label: how secret is this?
- Label can encrypt and add markings
- DLP: may this leave, and to whom?
- DLP can warn, block or allow override
- Retention: how long must we keep it?
- Retention can also delete after a period
- eDiscovery: find, hold and export for a case
- Holds stop deletion during the case
- Audit: who did what, when
- Audit Standard keeps 180 days
- Audit Premium keeps longer
- Search audit before evidence expires
- 1Created
Sales drafts a contract in SharePoint
- 2Labelled
Confidential label applies encryption
- 3Shared
DLP warns on an external share
- 4Kept
Retention keeps it seven years
- 5Disputed
eDiscovery hold freezes it
- Information protection
- Sensitivity labels
- Label policies
- Auto-labelling
- Data loss prevention
- Locations
- Sensitive information types
- Actions and overrides
- Data lifecycle
- Retention policies
- Retention labels
- Holds
- Investigation
- Audit
- eDiscovery cases
- Content search
In depth
Sensitivity labels: classify, then protect
Labels are created in Purview and published to users through a label policy. A label can add a header, footer or watermark, apply encryption with chosen permissions, and, when enabled for containers, set privacy and sharing rules on Teams, Microsoft 365 groups and SharePoint sites. Users can apply labels by hand, a policy can set a default label, and with the right licence Purview can apply labels automatically when it finds sensitive information.
Encryption is the part that breaks things. An encrypted file can only be opened by people the label allows, and some services and older apps cannot read encrypted content. Pilot with a small group, include a shared mailbox and an external partner in the test, and keep a simple label list: users stop reading after about five choices.
- Example labels: Public, General, Confidential, Highly confidential
- Publish through a label policy to a pilot group first
- Encryption follows the file outside the company
- Container labels govern sites and teams, not the files inside
DLP: detect, then decide
A DLP policy has locations (Exchange, SharePoint, OneDrive, Teams chat, and Windows or macOS devices when onboarded), conditions (content contains a sensitive information type or a label, shared outside the organisation) and actions (log, show a policy tip, block, block with override). Sensitive information types match patterns plus checks, such as a credit card number with a valid checksum near words like card.
Roll out in stages. Run the policy in simulation mode and read the matches. Tune false positives, such as test card numbers in a developer site. Then turn on policy tips so users learn. Only then block, and allow an override with a business reason for teams that truly need it. Every stage leaves alerts and activity you can review.
- 1Simulate
Policy runs, nothing is shown to users
- 2Tune
Remove false positives, adjust counts
- 3Tips
Users see warnings, nothing blocked
- 4Block with override
Business reason is recorded
- 5Review
Weekly look at matches and overrides
Retention, holds and why retention is not backup
Retention policies apply to whole locations, such as all mailboxes. Retention labels apply to single items and can start counting from creation, last change or an event such as a contract ending. When retention is set to keep, a user can still delete or edit an item, but Purview silently keeps a copy: in the Recoverable Items folder for mail, and in the Preservation Hold library for SharePoint and OneDrive.
Those copies are for compliance search and eDiscovery. They are not organised for restore, do not keep folder structure in a friendly way, and you cannot roll a site back to a point in time with them. For recovery use the native tools, such as OneDrive Restore, SharePoint site restore from the recycle bin, or Microsoft 365 Backup or a third-party backup product. Write both into your data plan.
- Retain-then-delete is common for records
- Holds win over deletion
- Retention copies are found by search, not restored by date
- Backup is a separate product decision
Audit and eDiscovery in practice
Audit must be on for the unified audit log to record events; it is on by default in most tenants, but check. Audit Standard keeps records for 180 days. Audit Premium, part of E5 or add-ons, keeps many records for one year and can keep them up to ten years with an add-on, and records more detailed events such as mail items accessed.
eDiscovery works in cases. A case has members, holds on chosen mailboxes and sites, searches with keyword and date conditions, and exports. Only people with eDiscovery roles can create cases or see results, and those roles are powerful because they reveal content across the company. Keep membership small and review it.
Learn it in 5 short steps
About 35m each. Track them with a timer in your plan.
- 1Apply sensitivity labels~35m
- 2Write a DLP policy~35m
- 3Set retention policies~35m
- 4Search the audit log~35m
- 5Separate retention from backup~35m
Key points
- Sensitivity labels classify and can protect content; DLP inspects content and controls where it goes.
- Retention keeps content for a set time or deletes it after a time; a hold in eDiscovery overrides deletion.
- Retention is not backup: it preserves items for compliance, but it is not a quick, full restore tool.
- Audit answers who did what; check how long your plan keeps audit records before an incident, not after.
- Start DLP in simulation mode, review matches, then turn on policy tips and finally blocking.
Key terms
Tap a card to flip it. 0/6 known
Examples
Design a policy set for a fictional contract flow
Design-only, no tenant needed. Contoso sales store contracts in a Contracts site. Step 1: label: Confidential, encrypted for all Contoso staff, header 'Confidential'. Step 2: DLP: in Exchange and SharePoint, if content has the Confidential label and is shared externally, show a policy tip and require an override reason. Step 3: retention label 'Contract record': keep seven years from contract end, then review before deletion. Step 4: audit: confirm audit is on so shares and downloads are recorded. Step 5: eDiscovery: legal team only. Evidence to expect in a lab: the policy tip in Outlook and a DLP alert listing the override reason.
Search the audit log for external sharing
A manager asks who shared the Q4 pricing file outside the company last week. Prerequisites: the Audit Logs or View-Only Audit Logs role. Step 1: in Purview, open Audit, set the date range and activities such as sharing invitation created and anonymous link created. Step 2: filter on the file name. Step 3: export results. In PowerShell, use Search-UnifiedAuditLog as below. Evidence: records with the user, the target and the time. Note that Search-UnifiedAuditLog returns up to 5,000 records per call, so narrow the window.
Connect-ExchangeOnline
$r = Search-UnifiedAuditLog -StartDate "2026-11-16" -EndDate "2026-11-23" `
-Operations SharingInvitationCreated,AnonymousLinkCreated `
-ObjectIds "https://contoso.sharepoint.com/sites/Sales/Shared Documents/Q4-pricing.xlsx" `
-ResultSize 5000
$r | Select-Object CreationDate, UserIds, Operations | Format-TableQuick reference
- Label = how sensitive; DLP = may it leave; retention = how long; audit = who did it; eDiscovery = find and hold.
- Purview portal: purview.microsoft.com.
- Roll out DLP: simulate, tune, tips, block with override, review.
- Retained copies: Recoverable Items for mail, Preservation Hold library for SharePoint and OneDrive.
- Holds beat deletion; release the hold when the case ends.
- Audit Standard keeps 180 days; Audit Premium keeps longer.
- Retention is not backup; plan restore separately.
Common mistakes
- Turning on a DLP policy in block mode on day one and stopping legitimate work such as payroll emails.
- Telling users that retention means IT can restore anything; retained copies are for compliance search, not quick restores.
- Publishing labels with encryption before checking that partners and shared mailboxes can still open the content.
Quick quiz
Pick an answer to see if you're right and why.
Practice exercises
Try each one yourself first. Use the hint if you get stuck, then compare with the solution.
- Exercise 1easy
For each need, name the Purview control: stop card numbers in mail to outsiders; keep invoices seven years; find all mail about Project Falcon for a lawyer.
- Exercise 2medium
Write a four-label taxonomy for a 200-person company, with one line on what each label does.
- Exercise 3hard
A user deleted a whole OneDrive folder two days ago and wants it back. Retention keeps OneDrive for 3 years. Explain the best recovery path and the role retention plays.
Check yourself
Answer in your head, reveal, then be honest with yourself.
Feel confident about this topic?
Frequently asked questions
- Do sensitivity labels and retention labels conflict?
- No. They are different label types. A file can carry one sensitivity label and one retention label at the same time.
- Does DLP read my email?
- DLP scans content automatically for patterns. Matches and alerts are visible to admins with DLP roles, so those roles should be limited.
- Is audit turned on by default?
- For most tenants yes, but you should confirm it in Purview Audit or with Get-AdminAuditLogConfig in Exchange Online PowerShell before you need it.