How Microsoft Purview classifies, labels and enforces, diagram by diagram.

Microsoft’s Purview engineering team publishes thirteen reference diagrams. They show where Purview reads content, where it decides and where it acts, from the Office app and Exchange transport to the device, the browser, SharePoint and Microsoft 365 Copilot. This page sets out each diagram as Microsoft drew it, says in plain terms what it shows, and notes where Microsoft Learn has moved on since.

Classification. Purview reads content wherever it lives, and each location has its own limits.

Purview data classification service architecture across apps and data stores
Diagram · Microsoft Purview Customer Excellence Engineering Referential architecture, Classification

Classification is how Purview works out what a file or message contains, for example twelve credit card numbers in a spreadsheet. Labels, DLP, retention and eDiscovery all act on that result, so where classification happens decides how quickly the other controls can respond.

The diagram shows one data classification service doing the work for every location. It holds sensitive information types (patterns such as a tax file number), named entities, exact data match against your own records and document fingerprints. It also holds trainable classifiers, credential types and optical character recognition for text inside images.1

Where the work happens differs by location:

  • Email is classified in Exchange transport whatever client sent it, and DLP can block the message there.2
  • Teams chats are classified in near real time, and a message that breaks a DLP rule is removed for external recipients within seconds.3
  • Word, Excel, PowerPoint and Outlook classify in the client when a client-side auto-labelling or DLP policy tip needs it, and hand advanced classifiers to the cloud service.4
  • SharePoint and OneDrive classify a file when it is saved and indexed. Existing files are reclassified by re-indexing a site or library, or by on-demand classification.5
  • Devices classify a file when it is created or changed and cache the result with the file. They re-read a file only when it has never been evaluated or its result is stale.6

Two add-ons sit behind the diagram’s boxes. OCR has to be turned on for the tenant and is billed pay-as-you-go. On-demand classification for historical content is also pay-as-you-go or per-user.5, 7

Labelling and protection. One label, applied in different ways, carries its protection to each location.

Purview sensitivity label architecture: how labels are applied and what they do
Diagram · Microsoft Purview Customer Excellence Engineering Referential architecture, Labeling and protection

A sensitivity label is the marker people see on a file, email, meeting or site. The diagram puts the label at the centre and works outwards: how a label gets onto content in each location, and what protection the label then carries there.

Labels arrive by four routes. People choose them manually. Defaults apply them, such as a default label on a SharePoint document library, which covers new and edited files but not existing files at rest.10

Client-side auto-labelling suggests or applies a label as someone works in an Office app, and service-side auto-labelling applies one to content already stored in SharePoint, OneDrive or Exchange. A manual label wins by default: automatic labelling does not replace it.11

What the label carries depends on where the content sits. On files and email it can encrypt, add a watermark or header, and act as a DLP condition. A DLP rule on a label works whether or not the label encrypts.12

On Teams, groups and SharePoint sites it sets privacy, external user access, access from unmanaged devices, and private team discoverability and shared channel controls. Meeting invites can carry encryption, with some options needing Teams Premium.13, 14

In Fabric and Power BI the label and its access control follow data exported to Excel, PDF and PowerPoint. When Copilot writes new content from labelled sources, it inherits the highest-priority label.15, 16

Encrypted content opens for people in other organisations who have a Microsoft Entra account. Cross-cloud access works for Word, Excel and PowerPoint, but not for email.17, 18

Endpoint DLP. The device decides at the moment a file leaves.

Purview Endpoint DLP architecture: onboarding, classification and outcomes
Diagram · Microsoft Purview Customer Excellence Engineering Referential architecture, Endpoint DLP

Endpoint DLP runs on Windows and macOS devices once they are onboarded to Purview. Windows devices onboard through Group Policy, Intune or Configuration Manager; macOS devices through Intune, JAMF Pro or another MDM.6

Microsoft Defender Antivirus can run in passive mode, but real-time protection and behaviour monitoring must stay on. The signed-in person needs an Entra ID account in the policy’s scope.20, 21

The diagram follows a file to the point where it leaves the device. That can be an upload to a cloud service, a copy to USB, Bluetooth, Remote Desktop or a network share, a print job, or a paste into a browser.6

The device checks the file’s cached classification against policy. When just-in-time protection is turned on, a file that has never been evaluated, or was classified before the policy changed, is held while it is evaluated. That applies to people in the feature’s scope, for activities a DLP rule blocks.6, 22

The person waits a few seconds, then sees a block notice for up to 30 more seconds. If evaluation still has not finished, the policy’s fallback action applies. Copies to removable media and network shares resume by themselves if evaluation finishes within three seconds. Anything slower, and every other activity, has to be tried again.22

The outcome is one of four: allow, audit, warn with an override, or block. Each is logged, and a copy of the matched file can go to a Microsoft-managed or customer-managed evidence store.23

Exchange DLP. Outlook warns before sending, and Exchange enforces in transport.

Purview Exchange DLP architecture: policy tips, classification and mail flow
Diagram · Microsoft Purview Customer Excellence Engineering Referential architecture, Exchange transport rules and DLP flow

Email meets DLP twice. First in Outlook, where a policy tip warns the sender while they write. Classic Outlook evaluates locally and can call the cloud service for advanced classifiers, while new Outlook and Outlook on the web evaluate in the cloud.4, 26

Then in Exchange transport, which classifies every message whatever client sent it. There, DLP rules decide the outcome. A blocked message is not delivered, the sender gets a notification, the rule match is logged in Activity explorer, and an alert can be raised.2

Mail flow rules (transport rules) run in the same pipeline, and Microsoft’s diagram shows them quarantining, encrypting or stamping headers.

Senders on E5 can also see an oversharing dialog that asks them to confirm or justify before a message goes. Outlook can also hold a message on send until the check finishes, which Microsoft calls wait on send. The admin sets how long it waits, and whether the sender can send anyway.25, 54

Email classification. What happens when a scan cannot finish.

Exchange email classification flow: text extraction, OCR and DLP evaluation
Diagram · Microsoft Purview Customer Excellence Engineering Purview classification and DLP evaluation flow, emails Rendered by LensIQ from Microsoft’s deck, which the post does not carry as an image.

This diagram looks inside the Exchange step. Exchange extracts the text of the message and its attachments and runs each classifier type over it: sensitive information types, exact data match, trainable classifiers, fingerprints and named entities. Images go through OCR when OCR is turned on for Exchange.7

Not every scan finishes. Purview reads only the first two million characters of text from a file, and past that it raises a “Document didn’t complete scanning” signal.2

If one classifier type times out while others complete, DLP can evaluate the rule on the types that did complete. A separate condition lets a rule act on scan failures. That means a rule can still block a message whose attachment was only partly read, if you configure it to.28

SharePoint and OneDrive DLP. A file can be blocked before it is shared, or the moment a guest opens it.

SharePoint and OneDrive DLP architecture: six cases for external and all users
Diagram · Microsoft Purview Customer Excellence Engineering Referential architecture, SharePoint DLP

This diagram is drawn from Microsoft’s DLP policy reference and works through six cases. They turn on two questions: was the content sensitive before upload or did it become sensitive later, and has someone outside the organisation already opened it.2

  • A file that is sensitive before upload, under a rule that blocks people outside the organisation, has external sharing blocked straight away. The block is logged as proactive blocking, and no alert is sent.2
  • A file that becomes sensitive after someone outside has opened it is still blocked for external people, and this time an alert and an incident report are sent.2
  • Under “block everyone”, a file shared externally is blocked when the first guest opens it, so guests can reach it for a short time. Files shared only internally are blocked on upload. Once blocked, only the owner, the last person to modify it and the site admin keep access.2

Changing a DLP rule re-evaluates existing files in scope, not only new ones. Alerts name the person who last modified the file.2, 29

A rule that uses a sensitivity label as its condition works only on .docx, .xlsx, .pptx and .pdf files in SharePoint and OneDrive. Files encrypted with user-defined permissions can now be inspected by DLP, search and eDiscovery, but only once they are uploaded or edited.12, 30

Browser DLP, unmanaged device. Send personal devices through Edge for Business before they reach business apps.

Browser DLP on unmanaged devices: Conditional Access and Edge for Business
Diagram · Microsoft Purview Customer Excellence Engineering Reference Architecture Browser DLP, Unmanaged Device / Managed App

This diagram covers a personal or contractor device opening a business app. Microsoft Entra Conditional Access sends the session through Defender for Cloud Apps session control, which requires Edge for Business with its work profile. A person in another browser is told to switch to Edge, or blocked.33, 34

Inside the Edge work profile, DLP checks uploads, downloads, cut and copy, paste and print against the classification service, and audits or blocks each one. The device stays unmanaged, and the control sits in the browser session.33

Protecting managed apps in Edge for Business this way is included in Microsoft 365 E5 or an equivalent licence.33

Browser DLP, managed device. Stop sensitive text reaching consumer AI apps, inline.

Browser DLP on managed devices: Edge for Business inline AI app protection
Diagram · Microsoft Purview Customer Excellence Engineering Reference Architecture Browser DLP, Managed Device / Unmanaged App

The reverse case is a managed corporate device and an app the organisation does not control, such as a consumer AI chat site. Edge for Business inspects web traffic inline, so text typed or pasted into a prompt, and files uploaded, can be audited or blocked before they leave.33, 35

The policy applies across every Edge profile on the device, including personal and InPrivate.33

Other browsers can be blocked from opening at the device level, so people move to Edge for these sites. Chrome is blocked unless the Purview extension is installed. A collection policy alongside the DLP policy records what is shared with those apps.33, 35

These policies apply to Edge for Business on Windows 10 and 11 devices managed by Intune. Each check reads up to 4 MB of typed or pasted text, and files up to 3 MB.33

This protection is billed pay-as-you-go. It is not available to tenants using Intune multi-admin approval or to B2B guests.33

Insider Risk Management. Signals become a risk score, a score becomes an alert, an alert becomes a case.

Purview Insider Risk Management architecture: signals, policies, alerts, cases
Diagram · Microsoft Purview Customer Excellence Engineering Insider Risk Management Referential Architecture Microsoft’s image with the slide’s internal footer and slide number removed by LensIQ.

Insider Risk Management watches for patterns that suggest data theft, leaks or security policy violations. Policies start from templates and name which users, priority content and indicators count.36

Signals come from Microsoft 365 audit, DLP, Communication Compliance, Defender, devices and browsers. Data connectors add HR records, physical access and health record systems.37

A triggering event, such as a resignation in the HR feed, starts the clock. Purview then gathers activity from up to 90 days before and up to 30 days after it, though email looks back 10 days.38

Activity above the policy’s thresholds raises an alert. Reviewers confirm it into a case or dismiss it, and the Triage Agent can summarise it first.39

From a case, an investigator can notify the user, add reviewers, run a Power Automate flow, or escalate to an eDiscovery (Premium) case or a Data Security Investigation.40, 41

Users are pseudonymised by default, so reviewers see an alias until they need the name. Forensic evidence, which captures visual clips of risky activity, is an opt-in add-on.42, 43

Adaptive Protection feeds each user’s risk level (Elevated, Moderate or Minor) back into DLP, data lifecycle management and Conditional Access, so controls tighten for that person while the risk lasts. The data lifecycle management and Conditional Access links are both in preview.44

Copilot and labels. Copilot works inside the label’s rules, not around them.

Microsoft 365 Copilot and sensitivity labels inside the service boundary
Diagram · Microsoft Purview Customer Excellence Engineering How Microsoft 365 Copilot works with sensitivity labels and encryption

Copilot reads only what the signed-in person can already open. For encrypted content that means the person needs both the view and extract usage rights, and without them Copilot cannot use the item.16

Protection stays with a labelled file even when it is stored outside the tenant and opened in an Office app. New content Copilot writes from labelled sources takes the highest-priority label among them.16

Copilot oversharing controls. Fix what people can reach before Copilot surfaces it.

Copilot oversharing controls for SharePoint sites, from search limits to DLP
Diagram · Microsoft Purview Customer Excellence Engineering Oversharing controls you can use with Microsoft 365 Copilot

Copilot only uses content the person already has permission to view, so these controls work by narrowing what people can reach. The diagram numbers seven of them.55

SharePoint Advanced Management supplies data access governance reports to find overshared sites, the inactive site policy, restricted access control to limit a site to named groups, and Restricted Content Discovery.46, 47, 48

Restricted Content Discovery hides a site from Copilot and organisation-wide search without changing its permissions. It works on SharePoint sites, not OneDrive.49

Built-in SharePoint sharing controls narrow links and permissions, and Purview labels and DLP can stop Copilot using sensitive items.16

Copilot usage data. Where prompts and responses are kept, and the tools that reach them.

Where Copilot usage data is stored and the Purview tools that reach it
Diagram · Microsoft Purview Customer Excellence Engineering Where Copilot usage data is stored and how you can audit it

Prompts and Copilot’s responses are stored in a hidden folder in each user’s mailbox, where retention policies can keep or delete them and eDiscovery can search them.51

Versions of files referenced in a conversation are kept in the Preservation Hold Library through cloud attachments. Files people upload go to a Copilot Chat folder in their OneDrive, and Copilot Pages live in SharePoint Embedded containers the user owns.16

The audit log records each interaction, and Communication Compliance can flag risky prompts and responses.16, 56

DLP for Copilot. Labelled files and emails, and sensitive prompts, can each be kept out of a response.

Purview DLP for Microsoft 365 Copilot: labelled files and sensitive prompts
Diagram · Microsoft Purview Customer Excellence Engineering Referential Architecture, DLP for Copilot and agents

DLP has a Microsoft 365 Copilot location with two kinds of rule. The first stops Copilot processing items with a chosen sensitivity label: files in SharePoint and OneDrive, files open in an app, and emails sent on or after 1 January 2025. The items can still appear in citations.52

The second acts on prompts that contain sensitive information types. Alerts, notifications and simulation mode work as they do for other DLP locations.52

About these diagrams.

The diagrams are made and maintained by Microsoft’s Purview Customer Excellence Engineering team. They published them on the Microsoft Tech Community on 13 April 2026 as “Microsoft Purview Referential Architecture Diagrams” (aka.ms/PurviewArchitecture). The PowerPoint is in Microsoft’s public purview repository on GitHub under the MIT licence.

Eleven of the images on this page are Microsoft’s own, unchanged. The post does not include the email classification flow (05) as an image, so LensIQ rendered it from Microsoft’s deck. LensIQ also removed an internal footer from the Insider Risk diagram (09).

The notes under each diagram are LensIQ’s, checked against the Microsoft Learn articles listed below. This page is not legal advice.

Licence for Microsoft’s diagrams

MIT License

Copyright (c) Microsoft Corporation.

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE

Where each note comes from.

  1. 1 Microsoft Learn Learn about Microsoft Purview classifiers
  2. 2 Microsoft Learn Data Loss Prevention policy reference
  3. 3 Microsoft Learn Data loss prevention and Microsoft Teams
  4. 4 Microsoft Learn Data loss prevention policy tips in Outlook for Microsoft 365
  5. 5 Microsoft Learn On-demand classification
  6. 6 Microsoft Learn Learn about Endpoint data loss prevention
  7. 7 Microsoft Learn Learn about optical character recognition in Microsoft Purview
  8. 8 Microsoft Learn Configure and install the information protection scanner
  9. 9 Microsoft Learn Data classification in the Microsoft Purview Data Map
  10. 10 Microsoft Learn Configure a default sensitivity label for a SharePoint document library
  11. 11 Microsoft Learn Apply a sensitivity label to content automatically
  12. 12 Microsoft Learn Use sensitivity labels as conditions in DLP policies
  13. 13 Microsoft Learn Use sensitivity labels to protect content in Microsoft Teams, Microsoft 365 groups, and SharePoint sites
  14. 14 Microsoft Learn Use sensitivity labels to protect calendar items, Teams meetings, and chat
  15. 15 Microsoft Learn Information protection in Microsoft Fabric
  16. 16 Microsoft Learn How data is protected and audited in Microsoft 365 and Microsoft Copilot
  17. 17 Microsoft Learn Manage sensitivity labels in Office apps
  18. 18 Microsoft Learn Microsoft Entra configuration for encrypted content
  19. 19 Microsoft Learn Labeling in the Microsoft Purview Data Map
  20. 20 Microsoft Learn Troubleshooting Endpoint DLP configuration and policy sync
  21. 21 Microsoft Learn Microsoft Defender Antivirus compatibility with other security products
  22. 22 Microsoft Learn Learn about Endpoint data loss prevention just-in-time protection
  23. 23 Microsoft Learn Learn about collecting files that match data loss prevention policies from devices
  24. 24 Microsoft Learn Diagnose paste to supported browser issues in Endpoint DLP
  25. 25 Microsoft Learn Data loss prevention policy reference for new Outlook for Windows
  26. 26 Microsoft Learn Data loss prevention policy tips reference
  27. 27 Microsoft Learn Data loss prevention Exchange conditions and actions reference
  28. 28 Microsoft Learn Configure default protection for classification failures in DLP for Exchange
  29. 29 Microsoft Learn Learn about data loss prevention
  30. 30 Microsoft Learn Enable sensitivity labels for Office files in SharePoint and OneDrive
  31. 31 Microsoft Learn Mark new files as sensitive by default
  32. 32 Microsoft Learn Learn about quarantining files in SharePoint and OneDrive with DLP
  33. 33 Microsoft Learn Learn about data loss prevention for cloud apps in Edge for Business
  34. 34 Microsoft Learn In-browser protection with Microsoft Edge for Business
  35. 35 Microsoft Learn Help prevent sharing via Edge for Business to unmanaged AI apps from managed devices
  36. 36 Microsoft Learn Insider Risk Management policy templates
  37. 37 Microsoft Learn Insider Risk Management policy indicators
  38. 38 Microsoft Learn Insider Risk Management policy timeframes
  39. 39 Microsoft Learn Investigate insider risk management activities
  40. 40 Microsoft Learn Insider Risk Management cases
  41. 41 Microsoft Learn Data Security Investigations workflow
  42. 42 Microsoft Learn Insider Risk Management privacy settings
  43. 43 Microsoft Learn Learn about Insider Risk Management forensic evidence
  44. 44 Microsoft Learn Help dynamically mitigate risks with Adaptive Protection
  45. 45 Microsoft Learn Learn about Insider Risk Management
  46. 46 Microsoft Learn Data access governance reports for SharePoint sites
  47. 47 Microsoft Learn Manage site lifecycle policies
  48. 48 Microsoft Learn Restrict SharePoint site access with Microsoft 365 groups and Entra security groups
  49. 49 Microsoft Learn Restrict discovery of SharePoint sites and content
  50. 50 Microsoft Learn Restricted SharePoint Search
  51. 51 Microsoft Learn Learn about retention for Copilot and AI apps
  52. 52 Microsoft Learn Learn about using Microsoft Purview DLP to protect interactions with Microsoft 365 Copilot
  53. 53 Microsoft Learn Data loss prevention policy tip reference for Outlook for Android, iOS, and macOS
  54. 54 Microsoft Learn Get started with oversharing pop-ups in Outlook
  55. 55 Microsoft Learn Data, privacy, and security for Microsoft 365 Copilot
  56. 56 Microsoft Learn Configure a Communication Compliance policy to detect generative AI interactions

Have these flows checked against your own tenant.

LensIQ reviews where your Purview classification, labels and DLP actually evaluate, and where they do not.