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?
3 Replies
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?
Tony posted a code sample for such scenarios literally yesterday:
https://office365itpros.com/2026/03/10/remove-sensitivity-labels-from-file/