How to enable sensitivity labels for files in SharePoint Online?
Sensitivity labels protect your organization's data by classifying and securing files based on their content. Enabling sensitivity labels in SharePoint Online ensures that files containing sensitive information are properly protected in your organization.
Follow any of the methods below to enable sensitivity labels in SharePoint Online.
Enable sensitivity labels from Microsoft Purview compliance portal
- Sign in to the Microsoft Purview compliance portal.
- Navigate to Labels under .
- If your organization hasn't enabled the ability to open or edit encrypted files with sensitivity labels in OneDrive and SharePoint, you will see a warning message.
- Click the Turn on now button in the message to enable sensitivity labels for SharePoint Online and OneDrive.
Enable sensitivity labels using SharePoint Online Management Shell
You can also enable sensitivity label for SharePoint Online using PowerShell.
- Connect to SharePoint Online using the cmdlet below.
Connect-SPOService –Url https://<yourtenantname>-admin.sharepoint.com
- Run the following cmdlet to enable sensitivity label support for SharePoint Online.
Set-SPOTenant -EnableAIPIntegration $true
Once enabled, you can create and publish sensitivity labels to apply to SharePoint Online sites, document libraries and files.
Note: To disable the sensitivity label feature for SharePoint Online, change the -EnableAIPIntegration parameter to , as there is no option available to disable sensitivity labels from the Purview compliance portal.