Microsoft 365 DLP is built to stop sensitive data being shared as people work. Microsoft's own documentation says its Exchange location acts on data in motion, endpoint files are classified when they are created or modified, and OCR is an optional, metered feature234. That leaves three stores it will rarely show you: old PST archives on a file share, paper scanned to images, and local drives that were never enrolled.
What Microsoft 365 DLP is for
Microsoft defines the job plainly. Organizations need a way "to help prevent their users from inappropriately sharing sensitive data with people who shouldn't have it", and that practice is data loss prevention1. A DLP policy targets Microsoft 365 locations such as Exchange and SharePoint, and locations an administrator adds, such as on-premises file shares and endpoint devices1.
That is a prevention tool. It watches actions: sending, sharing, copying, uploading. What personal information is already sitting in the files is a different question, and the documentation shows where the two part ways.
Old mail: the Exchange location works on mail in motion
Microsoft's DLP policy reference has a table of locations with a "Data state" column. Exchange Online is listed as "data-in-motion". SharePoint is listed as "data-at-rest" and "data-in-use"2.
The practical meaning is that an Exchange DLP policy evaluates a message when it travels. Mail that reached a mailbox before the policy existed is not swept by it.
PST files sit one step further out. A .pst on a file server or an old laptop is not in Exchange Online at all. Microsoft's route for bringing one in is the Import service, by network upload or by shipping a drive8. On Windows devices, the policy reference carries a warning about these very files: including the .ost and .pst extensions in policy rules "might significantly increase the CPU load"2.
So the decade-old archive of a departed employee is usually invisible to DLP until someone imports it. Importing it first and looking second puts unknown personal data into the tenant. The page on scanning PST files before a Microsoft 365 import covers that order of work.
Scanned documents: OCR is optional and metered
A scanned intake form is a picture. Without OCR, a content rule has no text to match.
Microsoft's documentation says "OCR scanning is an optional feature that you must enable at the tenant level"4. It needs an Azure pay-as-you-go subscription, and the pricing unit is the image: "each page in a PDF file is charged separately"4. Microsoft's own example is a PDF of 10 pages, which counts as 10 separate scans4.
None of that is hidden. It does mean that a tenant where nobody enabled OCR has DLP policies that pass every scanned page unread. Turning it on does not reach back either: Microsoft says "Only images uploaded after OCR is enabled are scanned"4.
Local drives and file shares
Endpoint DLP covers devices that have been onboarded, running Windows 10, Windows 11 or recent macOS versions3. Microsoft says a file is classified at "Creation or Modification", meaning every time a file is created or modified it is fully scanned3. A folder of files that nobody has touched since before onboarding is a different case.
Microsoft has a separate feature for that case. On-demand classification is for "historical data" in SharePoint and OneDrive and on endpoints, including "files that aren't classified or modified for a long time"7. It uses pay-as-you-go billing, per-user licensing, or both7.
On-premises file shares need more. For those, Microsoft says DLP "relies on a full implementation of the Microsoft Purview Information Protection scanner"5. The scanner's prerequisites include a Windows Server computer, a service account and SQL Server6. For a small office with one NAS, that is a project.
There are also size limits. The policy reference gives the maximum text scanned from a file as "The first 2 million characters (~2 MB) of extractable text"2. For endpoint devices it lists a "Scanning did not complete" condition, which applies when extracted text exceeds the maximum allowed, and for uncompressed files that maximum is "The first 4 MB of extractable text"2. Microsoft discloses the condition, which is to its credit. A large export can still be only partly read.
The gaps in one table
| Store | What Microsoft's documentation says | What follows |
|---|---|---|
| Mail already delivered | Exchange Online location is data-in-motion2 | Old mail is not swept by an Exchange DLP policy |
| PST archives on disk | Not in Exchange Online until imported8; adding the .pst and .ost extensions to device rules may raise CPU load2 |
Archives need their own scan |
| Scanned pages and photos | OCR is optional, tenant-level and billed per image or PDF page4 | With OCR off, images pass unread |
| Untouched local files | Endpoint files are classified on creation or modification3; on-demand classification covers historical data7 | Old files may wait for the on-demand feature or another scan |
| On-premises shares | DLP depends on the information protection scanner5, which needs Windows Server and SQL Server6 | A deployment project before any share is covered |
Why DLP alone does not finish a HIPAA risk analysis
The HIPAA Security Rule requires "an accurate and thorough assessment of the potential risks and vulnerabilities" to electronic protected health information "held by the covered entity or business associate"9. Held is the important word. It takes in the archive share, the scanner folder and the retired laptop in the cupboard.
DLP on live mail answers a different question: what are people sending now? A clinic can have well-tuned policies and still not know that a .pst from a former office manager holds years of referral letters. The HIPAA risk analysis page covers what the assessment has to include.
What other DLP vendors add
Third-party DLP products extend prevention to more apps. One example is Nightfall, whose Exchange Online page promises to "automatically detect and secure sensitive data in Exchange Online while preventing unauthorized data transfers and risky sharing", and says it monitors outgoing email, shared mailboxes and "all mailbox messages dating back years"10. Its healthcare guide describes Purview DLP as native prevention "for organizations standardized on Microsoft 365", and describes Nightfall's own coverage as spanning endpoints, email, browsers and SaaS11. Neither page mentions PST files1011.
The stores in this post are a different case. They are files at rest, on hardware the business owns, that were never loaded into a mailbox or a cloud app.
Where a file scanner fits, and where it does not
For content inside the tenant, start with Microsoft's own tools. VellumSoft does not connect to Microsoft 365, Exchange Online or SharePoint. It scans a local folder or a single file, so a live mailbox has to be exported before it can be scanned. Version 2.0.2 does not read Word (DOCX), Excel (XLSX), ZIP or 7z files, which make up much of a typical SharePoint library. For that content, Microsoft's classification is the better fit.
The gaps above are a closer match. VellumSoft reads .pst, .ost and .msg archives, with each attachment scanned as its own file type, reads PDFs and images with OCR when OCR is on, and runs on the local computer. Scanned data and findings are never transmitted. See PST and mailbox scanning and scanned PDFs and OCR.
It is not DLP. VellumSoft does not block, quarantine, delete or redact, and OCR can misread characters. A fuller comparison is on the Microsoft Purview comparison page, which uses the scanner prerequisites cited here6.
Related posts: is Microsoft 365 HIPAA compliant, how to find sensitive data on your network, employee SSNs found on a shared drive and where a PowerShell or regex search stops.
Check one setting today: whether OCR is enabled in the tenant. If it is not, every scanned page has been passing unread.
This page explains the law in general terms and is not legal advice.
Questions
Does Microsoft 365 DLP scan email that is already in a mailbox?
Microsoft's DLP policy reference lists the data state for the Exchange Online location as data-in-motion, while SharePoint is listed as data-at-rest and data-in-use. An Exchange DLP policy acts on messages as they are sent. It is not a search of mail that arrived years ago.
Can Microsoft 365 DLP scan PST files?
A PST file on a file server is outside Exchange Online until it is imported. On devices, Microsoft's policy reference warns that adding the .pst and .ost extensions to policy rules might significantly increase the CPU load. In practice, old archives need a separate scan.
Does Microsoft 365 DLP read scanned documents?
Only when optical character recognition is switched on. Microsoft describes OCR scanning as an optional feature that must be enabled at the tenant level and that needs pay-as-you-go billing. Each image counts as one transaction, and each page of a PDF is charged separately.
Is DLP enough for a HIPAA risk analysis?
No. The Security Rule asks for an accurate and thorough assessment of risks to electronic protected health information held by the covered entity. DLP controls how data moves. It does not list what sits in old archives, scanned records or drives that were never enrolled.
Sources
- Microsoft Learn, Learn about data loss preventionReviewed 16 Nov 2026
- Microsoft Learn, Data Loss Prevention policy referenceReviewed 16 Nov 2026
- Microsoft Learn, Learn about Endpoint data loss preventionReviewed 16 Nov 2026
- Microsoft Learn, Learn about optical character recognition in Microsoft PurviewReviewed 16 Nov 2026
- Microsoft Learn, Learn about the data loss prevention on-premises repositoriesReviewed 16 Nov 2026
- Microsoft Learn, On-demand classificationReviewed 16 Nov 2026
- Microsoft Learn, Learn about importing your organization's PST filesReviewed 16 Nov 2026
- eCFR, 45 CFR 164.308, Administrative safeguards (HIPAA Security Rule)Reviewed 16 Nov 2026
- Nightfall, AI-powered Data Loss Prevention (DLP) for Microsoft Exchange OnlineReviewed 16 Nov 2026
- Nightfall, Best DLP Solutions for HealthcareReviewed 16 Nov 2026