Data Security / Purview ยท Modern Endpoint Guides
๐Ÿ›ก๏ธ Microsoft Purview

Purview Information Protection & DSPM

End-to-end data security posture management โ€” from sensitivity labels and DLP policies to Information Rights Management, Endpoint DLP, and DSPM for AI (Microsoft Copilot protection).

๐Ÿ“… Updated: May 2026 โฑ๏ธ Implementation: 8โ€“16 hours ๐ŸŽฏ Audience: Security Admins, Compliance Officers ๐Ÿ“‹ License: M365 E3/E5 + Purview

๐Ÿ“‹ Overview & Licensing

Microsoft Purview is a unified data governance and compliance platform. It covers information protection (labels, DLP), data lifecycle management (retention, records), insider risk, eDiscovery, and the new DSPM for AI to secure Copilot interactions.

๐ŸŽฏ Core Capabilities

  • Sensitivity Labels: Classify and protect files/emails
  • DLP Policies: Prevent data exfiltration
  • Endpoint DLP: Control data on Windows endpoints
  • IRM/Encryption: Rights management via Azure RMS
  • Retention Policies: Keep or delete data per regulation
  • DSPM for AI: Protect data in Copilot queries

๐Ÿ“‹ Licensing Matrix

FeatureLicense
Sensitivity Labels (manual)M365 E3 / AIP P1
Auto-labelingM365 E5 / AIP P2
DLP (Exchange, Teams)M365 E3
Endpoint DLPM365 E5
Insider Risk MgmtM365 E5 Compliance
DSPM for AIM365 E5 Compliance

๐Ÿท๏ธ Sensitivity Labels

๐ŸŽจ Recommended Label Taxonomy

Public General Confidential Highly Confidential
LabelApplies ToProtectionVisual Marking
PublicPress releases, public docsNoneFooter: "Public"
GeneralInternal communicationsNone (internal only)Footer: "General โ€“ Internal"
Confidential โ€“ All EmployeesHR, Finance, internal projectsEncryption (all users in org)Header + Footer + Watermark
Confidential โ€“ Specific GroupsM&A, Legal, ExecutiveEncryption (specific AAD group)Header + Watermark
Highly ConfidentialPII, financial data, regulated dataEncryption + no external sharingFull visual marking + block external

โš™๏ธ Label Settings

  • Encryption: Azure RMS / Rights Management
  • Mark content: Headers, footers, watermarks
  • Auto-labeling: Based on content inspection
  • Protect SharePoint sites: Container labels
  • Mandatory labeling: Users must choose a label

๐Ÿ”„ Auto-Labeling

  • Simulate mode first โ€” see what would be labeled
  • Client-side: labels in Office apps while editing
  • Service-side: scans SharePoint, OneDrive, Exchange at rest
  • Trigger: SIT match (e.g., Credit Card, SSN)
  • Recommendation vs. automatic application

๐Ÿ” Sensitive Information Types (SIT)

๐Ÿ“‹ Built-in SIT Examples

  • Credit Card Number (PCI-DSS)
  • US Social Security Number (SSN)
  • EU National Identification Numbers
  • Israel ID Number / Passport
  • SWIFT Code / IBAN
  • Azure Storage Account Key
  • AWS Access Key

๐Ÿ› ๏ธ Custom SIT (Regex + Keywords)

# Example: Custom Employee ID SIT
{
  "name": "Contoso Employee ID",
  "pattern": {
    "regex": "EMP-\\d{6}",
    "confidence": "High",
    "minCount": 1
  },
  "keywords": [
    "employee id", "staff id", "emp id"
  ],
  "confidenceLevel": "High"
}

๐Ÿšซ Data Loss Prevention (DLP)

Always deploy DLP policies in Simulation mode first. Review alerts in Activity Explorer for 1โ€“2 weeks before switching to block mode to avoid false positive disruption.

๐Ÿ’ฌ Communication

  • Exchange email (inbound/outbound)
  • Teams messages and channels
  • Yammer

โ˜๏ธ Cloud Storage

  • SharePoint Online
  • OneDrive for Business
  • Microsoft 365 Groups

๐Ÿ’ป Endpoint

  • Windows 10/11 (requires onboarding)
  • USB device activities
  • Cloud app upload controls
ActionScopeUser Experience
Block sending / sharingExchange, SharePoint, TeamsError message; policy tip shown
Block with overrideAllUser can override with business justification
Notify user onlyAllPolicy tip shown; no blocking
Quarantine emailExchangeAdmin reviews before delivery
Apply RMS encryptionExchangeEmail encrypted automatically
Generate alertAllAlert to security team; no user impact

โš–๏ธ Rule Construction

  • Conditions: SIT match, label match, sender/recipient, domain
  • Exceptions: Exclude specific users, groups, or domains
  • Confidence: Low (65%), Medium (75%), High (85%)
  • Instance count: Trigger on 1 match or 5+ matches (different severity)
  • Priority: Lower number = higher priority (processed first)

๐Ÿ” Information Rights Management (IRM)

๐Ÿ”‘ Azure Rights Management (RMS)

  • Encryption travels with the file โ€” protects anywhere
  • Online (Office apps) and offline (protected view)
  • Revoke access at any time, even after sharing
  • Track who opens protected documents
  • Rights: View, Edit, Print, Copy, Forward, Reply All

๐Ÿ“‹ Permission Templates

TemplateRights
Company ConfidentialView, Print (internal users only)
Do Not ForwardView only; no forward/print/copy
Encrypt OnlyAll rights (just encrypted in transit)
CustomAny combination of rights

๐Ÿ’ป Endpoint DLP

Endpoint DLP extends DLP policies to Windows 10/11 endpoints. Devices must be onboarded to Microsoft Purview (same onboarding as MDE) via Intune or Group Policy.

๐Ÿ” Activities Monitored

  • File copy to USB removable media
  • File upload to cloud services (browser)
  • File copy to network share
  • Print to local or network printer
  • Copy to clipboard
  • Bluetooth transfer
  • RDP session file transfer

โš™๏ธ Endpoint DLP Configuration

  • Onboard devices via Intune or MDE (same agent)
  • Enable Endpoint DLP in Purview settings
  • Define sensitive service domains (allowed/blocked)
  • Configure browser restrictions (Chrome, Edge extensions)
  • Set USB policy: Allow all, Block all, or Audit only

๐Ÿ“ Retention Policies & Labels

๐Ÿ“… Retention Policies

  • Apply org-wide retention rules automatically
  • Retain: keep for N years, then delete or review
  • Delete: delete after N years regardless
  • Locations: Exchange, SharePoint, OneDrive, Teams, Viva Engage
  • Compliance: GDPR 7-year, HIPAA 6-year, SOX 7-year

๐Ÿท๏ธ Retention Labels

  • Applied per document or folder (more granular)
  • Can trigger a disposition review before deletion
  • Mark as a record (immutable)
  • Auto-apply based on SIT or query
  • Recommended for regulatory record management

๐Ÿค– DSPM for AI (Copilot Protection)

Data Security Posture Management for AI is the newest Purview module. It assesses risks introduced by Microsoft Copilot and other AI apps โ€” oversharing, sensitive data in prompts, and shadow AI usage.

๐Ÿ” What DSPM for AI Does

  • Detects sensitive data referenced in Copilot prompts
  • Identifies overshared content that Copilot can surface
  • Monitors 3rd-party AI app usage (shadow AI)
  • Provides remediation recommendations
  • Tracks user interactions with AI tools

๐Ÿ›ก๏ธ Protection Actions

  • Block sensitive data from appearing in Copilot responses
  • Require sensitivity label before Copilot processes document
  • Alert when user submits PII to external AI tool
  • Restrict Copilot to labeled/classified content only
  • Generate AI activity audit reports

๐Ÿ”Ž Audit & eDiscovery

๐Ÿ“‹ Audit Log

  • Standard audit: 90-day retention (M365 E3)
  • Premium audit: 1โ€“10 year retention (M365 E5)
  • High-value events: Mail access, file operations, admin actions
  • Query via Purview compliance portal or PowerShell

โš–๏ธ eDiscovery

  • Standard: Search, export, hold
  • Premium: Custodian management, review sets, analytics
  • Legal hold: Preserve content from deletion
  • Litigation hold: Applied per mailbox

๐Ÿ“Š Reports & Activity Explorer

๐Ÿ” Activity Explorer

  • All label and DLP activity in one view
  • Filter by user, location, activity type
  • 28 days of data (standard)
  • Export to CSV

๐Ÿ“ˆ DLP Reports

  • Policy match count and trend
  • Top users with violations
  • Override reasons summary
  • False positive rate

๐Ÿค– AI Activity Reports

  • Copilot prompt sensitivity hits
  • Shadow AI app usage by user
  • Oversharing risk assessment score
  • Recommended remediations

๐Ÿ’ป PowerShell & Graph

# Connect to Security & Compliance Center
Connect-IPPSSession -UserPrincipalName admin@contoso.com

# Get all DLP policies
Get-DlpCompliancePolicy | Select-Object Name, Mode, Enabled, Workload

# Get DLP policy rules
Get-DlpComplianceRule -Policy "PCI DSS - Credit Card" |
  Select-Object Name, Disabled, ContentContainsSensitiveInformation

# Get sensitivity labels
Get-Label | Select-Object Name, Priority, ContentType, Disabled

# Search audit log for file access events
Search-UnifiedAuditLog `
  -StartDate (Get-Date).AddDays(-7) `
  -EndDate (Get-Date) `
  -Operations FileAccessed, FileDownloaded `
  -RecordType SharePointFileOperation |
  Select-Object CreationDate, UserIds, Operations, AuditData

# Create a DLP policy via Graph API
POST https://graph.microsoft.com/beta/security/dataLossPreventionPolicies
{
  "displayName": "Block External Sharing of Credit Card Data",
  "mode": "simulation",
  "locations": [{ "location": "Exchange" }]
}

โœ… Implementation Checklist

๐Ÿท๏ธ Sensitivity Labels

  • Label taxonomy defined and approved by stakeholders
  • Sensitivity labels created in Purview portal
  • Label policies published to users/groups
  • Default label configured for Office apps
  • Mandatory labeling enabled
  • Auto-labeling configured for key SITs

๐Ÿšซ DLP Policies

  • DLP policy for PCI (credit card) data
  • DLP policy for PII (SSN, passport)
  • DLP policy for external sharing of sensitive labels
  • All policies start in Simulation mode
  • Activity Explorer reviewed before enforcement
  • Endpoint DLP devices onboarded

๐Ÿ“ Retention & Records

  • Retention requirements mapped per regulation
  • Retention policies applied to Exchange and SharePoint
  • Teams retention policy configured
  • Retention labels for records management created

๐Ÿค– DSPM & AI Protection

  • DSPM for AI enabled in Purview
  • Copilot interaction audit enabled
  • Shadow AI app discovery reviewed
  • Oversharing assessment completed and remediated