PRACTITIONER ARTICLE / Security
Getting Started with Microsoft Purview: Classify Your Data Before Copilot
Set up a Microsoft Purview sensitivity label in E3 and test SharePoint permissions, encryption and work-grounded Copilot retrieval with two test users, plus a separate account to apply encryption.
Microsoft Purview Technical Series | Part 1
Before a Microsoft 365 Copilot rollout, I pick a SharePoint document that one user should be able to open and another should have no access to. I check both accounts directly because a label in the Purview portal tells me very little about who can read the file.
Microsoft 365 Copilot can use work content the requesting user already has permission to access. If the document is overshared, a Confidential header leaves that access in place. For this pilot, I’d start with one label and two test accounts, then compare what each account can open in SharePoint with what Copilot can retrieve. Use a second file for the encryption test and a separate account to apply the encrypted label. Microsoft’s guidance on Purview and Copilot
What can you do with Microsoft 365 E3?
Microsoft 365 E3 is enough to pilot manual sensitivity labeling and test file access in SharePoint. If you want to test work-grounded Copilot responses as described here, both test users need the appropriate Microsoft 365 Copilot entitlement.
| Capability | Microsoft 365 E3 |
|---|---|
| Manual sensitivity labeling for files and emails | Included |
| Sensitivity labels with Microsoft Rights Management encryption | Included |
| DLP for Exchange Online, SharePoint and OneDrive | Included |
| Audit Standard, with 180-day default retention | Included |
| Standard retention policies for supported workloads | Included |
| Client-side and service-side automatic sensitivity labeling | Additional licensing |
| Endpoint DLP | Additional licensing |
| DLP that prevents Copilot from processing files based on labels | Additional licensing |
Qualifying options for automatic sensitivity labeling and label-based Copilot processing restrictions include Microsoft 365 E5 and Microsoft Purview Suite. Microsoft lists prompt safeguards separately for Copilot and Copilot Chat users, so check the specific action and client before assuming the same licensing or coverage applies. Microsoft Purview licensing reference
Check the existing labels and policies
Some tenants already have default labels and policies. In Microsoft Purview, check what your pilot users receive before you create another policy. Pay particular attention to existing default and mandatory label settings, and review the protection settings and dependencies before editing a production label.
Use the Exchange Online PowerShell module to read the existing configuration. Connect with an account that has the appropriate Purview permissions. The Information Protection Admins role group is an option for label management, while SharePoint tenant settings require a separate SharePoint administrative role.
# Install once if the module is missing.
Install-Module ExchangeOnlineManagement -Scope CurrentUser
Import-Module ExchangeOnlineManagement
Connect-IPPSSession -UserPrincipalName (Read-Host 'Administrative UPN')
Get-Label | Format-Table Name, Guid -AutoSize
Get-LabelPolicy | Format-Table Name -AutoSize
Get-LabelPolicy -Identity (Read-Host 'Label policy name') | Format-ListCheck SharePoint and OneDrive label support
Connect to your SharePoint admin center using the SharePoint Online Management Shell and read both tenant settings before changing either one.
# Install once if the module is missing.
Install-Module Microsoft.Online.SharePoint.PowerShell -Scope CurrentUser
Connect-SPOService -Url (Read-Host 'SharePoint admin center URL')
Get-SPOTenant | Select-Object EnableAIPIntegration, EnableSensitivityLabelforPDFIf integration is disabled, review the tenant impact before enabling it. Microsoft advises allowing approximately 15 minutes for the change to take effect. For Multi-Geo, connect to and configure each geo location.
Set-SPOTenant -EnableAIPIntegration $truePDF support is a separate setting. Review existing auto-labeling policies first because supported PDFs can come into scope when you turn it on. Signed PDFs are unsupported. These settings enable the service to process supported labeled files. Unlabeled files still need to be classified and labeled. If a file was already labeled and encrypted with a single Azure-based key before integration was enabled, edit it or download and re-upload it so SharePoint or OneDrive can process it. Microsoft’s SharePoint and OneDrive label guidance
Set-SPOTenant -EnableSensitivityLabelforPDF $trueDoes labeling a SharePoint site label the files inside it?
No. A site label can control settings such as external sharing or unmanaged device access, depending on its configuration. The documents inside the site retain their own labels and protection settings. You can use a library default or auto-labeling to apply file labels where those features are licensed and configured. Sensitivity labels for groups and sites
Create and publish one pilot label
In Solutions > Information Protection > Sensitivity labels, select Create > Label if your tenant uses the modern label scheme. The classic wizard differs. I would review any existing Confidential label first and use a distinct pilot name if the existing label serves a different purpose.
| Setting | Value |
|---|---|
| Name | Confidential |
| Display name | Confidential |
| Scope | Files & other data assets |
| Description | Customer contracts, pricing, financial information and other sensitive business material |
| Content marking | Header: Confidential |
| Encryption | Disabled for initial test |
Check the label’s priority against your existing labels before you finish. Publish it through a label policy assigned to a small Microsoft Entra security group such as SG-Purview-Labeling-Pilot. Leave mandatory and default labeling off in the new policy so you can test a manual application in isolation. Allow about 24 hours for propagation and longer when new group membership is still replicating.
In Word, sign in as a pilot user, apply the label and check the header. Save the document to your test site and check that SharePoint displays the label. If the label appears in PowerShell but is missing in Word, I would check the publishing policy, group membership, label scope and Office client support before recreating it. Create and publish sensitivity labels
Can Copilot read a file labeled Confidential?
Yes, if the requesting user has access and the label only adds a marking, work-grounded Copilot may use the file. When a sensitivity label applies supported encryption to a SharePoint file, work-grounded Copilot retrieval generally requires both VIEW and EXTRACT to return the protected content. Someone with VIEW alone may still be able to open the file in Office. Test the file link and the returned content as separate results. Microsoft’s encryption and AI guidance
I would run three separate checks because the client changes what the result tells you.
- Work-grounded Microsoft 365 Copilot. Ask it to find the SharePoint document and verify what it returns against the source. A qualifying Purview DLP policy can exclude files with selected labels from processing. A citation can still appear.
- Copilot in Word, Excel or PowerPoint. Test with the document open. Microsoft documents that label-based Copilot DLP is evaluated when the file opens. If you apply the label during the session, reopen the file before testing again.
- Web-grounded Copilot Chat. Test this separately from work-grounded search. File uploads, supported in-app context and configured agents are distinct ways to provide work content. A missing result in ordinary web-grounded chat says little about whether a SharePoint control blocked work-grounded retrieval.
Copilot experiences and grounding · Copilot DLP policy behavior
Run the same Copilot prompt as both test users
In a dedicated SharePoint test site, create Purview-Pilot-Canary-2026.docx and add an invented value such as ControlCode: SILVER-CEDAR-4729. For an actual run, use a new value that exists only in the test file. Apply the header-only Confidential label. Give one test account Read access and check that the other has no effective access through direct permissions, group membership or sharing links. Open the file with each account in a separate private browser session and record the results before testing Copilot.
With each appropriately licensed account, start a fresh work-grounded conversation and submit the same prompt. Leave the code out of the prompt so the response has to find it in the source.
From the SharePoint document named Purview-Pilot-Canary-2026.docx, identify the ControlCode value and provide a link to the source document. If you cannot access the document, say so.
| Scenario | Expected result |
|---|---|
| Reader, header-only label | The file opens. Copilot may retrieve the code and cite the source. |
| Denied account, header-only label | File access is denied. Copilot should not return the file contents. |
| Reader with VIEW and no EXTRACT, separate encrypted file | The file may open. Copilot should not return the protected contents. |
For the encrypted test, start with a fresh Word file and a different code. Create a separate file label in Purview. Select Control access, choose Assign permissions now, set User access to content expires to Never, and leave Double Key Encryption off. Under Custom permissions, grant one named account only VIEW and grant the comparison account VIEW plus EXTRACT (Copy and extract content). Give both SharePoint Read access and check for overlapping rights grants. Publish the encrypted label to the separate applying account through a label policy. Allow time for propagation and confirm the label appears in Word before applying it. The applying account becomes the Rights Management owner and always has EXTRACT. Sensitivity label encryption settings

In Word for Windows, sign in as each test account and open the file. Right-click the status bar to show Permissions, then open My Permission using the permissions icon next to the label. Check Copy. It should read No for the restricted account and Yes for the comparison account. Then repeat the work-grounded prompt with each account in a fresh session. If you also test Copilot in Edge or Windows, keep that result separate. Copilot can reference encrypted content in the active Edge tab without EXTRACT unless DLP is used in Edge. Copilot encryption and effective rights
A correct code with a citation to the intended file is evidence of retrieval. A missing answer can also result from indexing, propagation or client behavior, so repeat the permitted-user check before drawing a conclusion. I used PURVIEW-001 for the first permitted-reader run. Use the setup and expected evidence below when repeating it.
| Field | Test record |
|---|---|
| Test ID | PURVIEW-001 |
| Account and access | Reader test account. Record the account and verify Read access by opening the file. |
| Client, file and label | Work-grounded Microsoft 365 Copilot. Purview-Pilot-Canary-2026.docx, Confidential header only. |
| Expected evidence | The fresh ControlCode value with a citation to the intended document. |
What I would check before expanding the pilot
I would test encrypted files with the Office clients, external recipients and automation that actually use them. Test user-defined permissions separately because Copilot behavior can depend on how the file is opened or referenced. Copilot cannot access content protected by Double Key Encryption. Microsoft lists prompt blocking based on sensitive information types as in preview and rolling out, so verify availability and behavior in the intended client. Copilot encryption considerations Sensitive information type matching for directly entered prompt text does not scan the contents of files uploaded into that prompt. SharePoint and OneDrive file support · Copilot DLP conditions and limits
Before I would call the pilot ready to expand, I’d want to see a user apply the label, test accounts produce the expected access results and a record of what Copilot actually returned. In Part 2, I’ll look at sensitive information types, Content Explorer and how I would test which business-sensitive content pattern matching misses.
Primary source
Microsoft: Create and publish sensitivity labels ↗Further sources
Microsoft 365 Copilot encryption considerations and effective rights ↗
Sensitivity label encryption settings ↗
Microsoft’s encryption and AI guidance ↗
Microsoft Purview licensing reference ↗
Connect to Security & Compliance PowerShell ↗
SharePoint and OneDrive file support ↗
Sensitivity labels for groups and sites ↗
Copilot experiences and grounding ↗
Continue reading
Building Your First Microsoft Purview DLP Policy: From Detection to Enforcement ↗
Finding Sensitive Data with Microsoft Purview: From Microsoft 365 to On-Premises File Servers ↗
Purview E3 and E5 licensing: start with the control you need ↗