Forum Discussion
How to remove/modify a sensitivity label for many SharePoint documents?
We would like to implement Purview sensitivity labels for our SharePoint sites. We would like to use auto labeling. Before we start the implementation, we would like to test some rollback scenario.
How to remove/modify a sensitivity label for many SharePoint documents?
Hi Khhai,
Here are few options which you can conditioner based on the business use case and that you have Microsoft 365 E5 or Purview specific license.
Existing sensitivity labeled files at SharePoint - Utilise the Purview Data Explorer to identify the volume of sensitivity files that are currently labelled. If its a small volume than a manual approach by identifying these files and removing labels should be sufficient.
If you have large number of files than you can utilise the Microsoft Graph PowerShell SDK. These reference links should help you to build the scripts.
Remove bulk sensitivity lables using scripts
Additional reference
PnP PowerShell cmdlet reference (encrypted labels):
https://pnp.github.io/powershell/cmdlets/Unlock-PnPSensitivityLabelEncryptedFile.html
Regards, Prash
If you find the answer useful, please do not forget to like and mark it as a solution
6 Replies
- mohdadeebIron Contributor
Yes, you can remove or modify sensitivity labels in bulk using Microsoft Purview Compliance Portal or SharePoint library view. For large scale changes, PowerShell or Purview policies work best. Just make sure you have the required admin permissions.
khhaj If you have E5 compliance licencing, then you can now configure service-side auto labelling policies in the Purview Portal to either remove an existing label or replace a lower priority label with a higher priority label. See Automatically apply a sensitivity label to Microsoft 365 data | Microsoft Learn
Hi Khhai,
Here are few options which you can conditioner based on the business use case and that you have Microsoft 365 E5 or Purview specific license.
Existing sensitivity labeled files at SharePoint - Utilise the Purview Data Explorer to identify the volume of sensitivity files that are currently labelled. If its a small volume than a manual approach by identifying these files and removing labels should be sufficient.
If you have large number of files than you can utilise the Microsoft Graph PowerShell SDK. These reference links should help you to build the scripts.
Remove bulk sensitivity lables using scripts
Additional reference
PnP PowerShell cmdlet reference (encrypted labels):
https://pnp.github.io/powershell/cmdlets/Unlock-PnPSensitivityLabelEncryptedFile.html
Regards, Prash
If you find the answer useful, please do not forget to like and mark it as a solution
- khhajCopper Contributor
Is it only possible by scripting? There is no alternative solution in the Purview admin center?
- David4560Copper Contributor
Bulk label removal is now available with autolabelling policies.
Tony posted a code sample for such scenarios literally yesterday:
https://office365itpros.com/2026/03/10/remove-sensitivity-labels-from-file/