Forum Discussion

khhaj's avatar
khhaj
Copper Contributor
Mar 11, 2026
Solved

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