SharePoint Sensitivity Labels: Files, Sites and Auto-Labeling
SharePoint sensitivity labels come from Microsoft Purview and work at two levels. A label on a file classifies it and can add encryption and markings. A label on a site controls the container: privacy, external user access, external sharing and access from unmanaged devices. Files do not inherit a site's label, so you need both, plus a report of files that are still unlabeled and widely shared.
Published:
Last updated: 2026-12-02
What do sensitivity labels do in SharePoint?
| Label on a file | Label on a site, team or group | |
|---|---|---|
| Purpose | Classify and protect the document itself | Control how the workspace can be used |
| Can apply | Encryption, headers, footers and watermarks | Privacy (public or private), external user access, external sharing from the site, access from unmanaged devices, authentication contexts |
| Travels with the file | Yes. Protection stays when the file is downloaded or copied. | No. It applies to the container only. |
| Who applies it | Users, a default label, or an auto-labeling policy | The site owner at creation, or an admin afterwards |
Microsoft's documentation is explicit that items in a labeled container "do not inherit the labels". A site marked Confidential can hold hundreds of unlabeled files, and a file labeled Highly Confidential can sit in an unlabeled site.
How do you enable sensitivity labels for files in SharePoint and OneDrive?
This is a tenant-level switch. Until it is on, SharePoint cannot process files encrypted by a label, so coauthoring, search, eDiscovery and data loss prevention do not work for them. Once it is on, users also see a Sensitivity button in Office for the web, and you can add a Sensitivity column to library views.
Turn it on in the Purview portal under Information Protection, or with SharePoint Online PowerShell:
Connect-SPOService -Url "https://contoso-admin.sharepoint.com" Set-SPOTenant -EnableAIPIntegration $true
Then create labels and publish them with a label policy so users can see them. New and changed labels take time to appear in apps. Microsoft advises waiting at least 24 hours before testing some label changes.
How do you apply a sensitivity label to a SharePoint site?
First enable labels for containers (Microsoft Teams, Microsoft 365 groups and SharePoint sites) and configure the "Groups & sites" settings on each label. After that:
- New sites: the person creating a team site or communication site chooses a label from the Sensitivity drop-down.
- Existing sites: in the SharePoint admin center, open Active sites, select the site, and change the Sensitivity setting. Site owners can also change it from Site information.
- Many sites: use PowerShell with the label's GUID.
Set-SPOSite -Identity "https://contoso.sharepoint.com/sites/finance" -SensitivityLabel "<label GUID>"
The unmanaged-device and authentication-context settings only take effect when Microsoft Entra Conditional Access is configured to support them. To find which sites need attention first, start from a list of sites, owners and sharing settings. See exporting SharePoint sites and owners to CSV.
How can files be labeled automatically?
There are three routes, and most organizations combine them:
| Method | How it works | Good for |
|---|---|---|
| Default label | A label policy sets a default for new documents, or a library is given a default label for files added to it. | A sensible baseline with no user effort |
| Client-side auto-labeling | Office apps recommend or apply a label while a user edits, based on the content. | Catching sensitive content at the moment it is written |
| Service-side auto-labeling policy | Purview labels files already stored in SharePoint and OneDrive, without depending on the user's app. | Existing content at rest |
Run an auto-labeling policy in simulation first and review what it would label before turning it on. Client-side auto-labeling requires Microsoft 365 E5-level licensing. Check Microsoft's licensing guidance for service-side policies and library default labels in your plan.
What are the limits and common problems?
- Site labels do not protect files. This is the most common misunderstanding. Label files as well.
- Encrypted files depend on the tenant switch. If labels for files in SharePoint and OneDrive are not enabled, encrypted files cannot be opened in Office for the web, searched or scanned by DLP.
- Some encrypted files cannot be processed. Microsoft lists exceptions, including files labeled with user-defined permissions and files using Double Key Encryption.
- A label is not a permission. A file labeled Confidential without encryption is still open to everyone who has access to its library. Check the sharing separately.
- Label changes are not instant. Allow time before testing.
How do you find unlabeled or overshared files across SharePoint?
Labels only help when the important files have one. The practical question is: which files have no label and are reachable by a wide audience? Those are the ones Microsoft 365 Copilot and search will surface with no protection.
SharePoint Essentials Toolkit answers that in three ways:
- Unlabeled files that are widely shared: files with no sensitivity label that are broadly reachable, across the sites you choose.
- Sensitivity label and sharing columns in file reports: the label, who the file is shared with, its sharing links and last modified date on every file.
- Apply or remove sensitivity labels in bulk from a report: select files in the report and change the label. Community and Professional editions allow up to 10 changes per Apply; Enterprise has no cap. This needs an Azure app registration with certificate-based authentication and is available for the public cloud.
For continuous checking, Ranger365 (beta) monitors SharePoint Online for files without sensitivity labels alongside oversharing, Anyone links and external users. More on the Copilot angle: Copilot readiness: find and fix SharePoint oversharing.
What is a sensible first label set?
Keep it small. Four labels are enough for most organizations to start, and users can tell them apart:
| Label | Typical file settings | Typical site settings |
|---|---|---|
| Public | No protection | Public or private; external sharing allowed |
| General | No encryption; optional footer | Private; external sharing with authenticated guests |
| Confidential | Marking; encryption for employees | Private; external sharing limited or off |
| Highly Confidential | Encryption for named groups; watermark | Private; no external sharing; limited access from unmanaged devices |
These are example settings, not Microsoft defaults. Adjust them to your own policy, then publish, pilot with one department and expand.
Frequently asked questions
Do files inherit the sensitivity label of their SharePoint site?
No. A site label controls container settings only. Files in the site are not labeled, encrypted or marked by it. Use default labels, auto-labeling or manual labeling for the files.
Can I apply a sensitivity label to an existing SharePoint site?
Yes. Change it from Active sites in the SharePoint admin center, from Site information as a site owner, or in bulk with Set-SPOSite and the SensitivityLabel parameter.
Why can't I see the Sensitivity button in SharePoint?
Labels must be enabled for files in SharePoint and OneDrive at the tenant level, and a label policy must publish labels to the user. After publishing, allow time for labels to appear.
Does a sensitivity label stop a file being shared?
Not by itself. A label can encrypt a file so only permitted people can open it, and a site label can restrict external sharing for the whole site. To block sharing based on a file's label, add a data loss prevention policy.
What is the difference between a sensitivity label and a retention label?
A sensitivity label classifies and protects content. A retention label decides how long content is kept and what happens afterwards. A file can have one of each.
Microsoft sources
- Enable sensitivity labels for files in SharePoint and OneDrive
- Use sensitivity labels to protect content in Microsoft Teams, Microsoft 365 groups, and SharePoint sites
- Automatically apply a sensitivity label to Microsoft 365 data
This article is part of our Microsoft Purview for SharePoint guide. Related: SharePoint DLP and SharePoint retention policies and retention labels.
Find unlabeled, widely shared SharePoint files, free
SharePoint Essentials Toolkit Community Edition is free on up to 20 sites per Microsoft 365 tenant. See the sensitivity label on every file, list unlabeled files that are widely shared, and apply labels from the report. Get your free Community Edition license key.