question

mvz00 avatar image
0 Votes"
mvz00 asked EchoDu-MSFT commented

Remove SPO Site Sensitivity Label

Hi,

Does anyone know how to remove a sensitivity label from an SPO site using PowerShell? I have tried Set-SPOSite -Identity $URL -SensitivityLabel $null with no luck

Thanks,

Mike.

office-sharepoint-onlineoffice-sharepoint-server-administrationoffice-sharepoint-server-developmentoffice-sharepoint-server-itpro
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

EchoDu-MSFT avatar image
0 Votes"
EchoDu-MSFT answered EchoDu-MSFT commented

Hello @mvz00 ,

According to my research, we could not remove Sensitivity Labels for SharePoint sites through PowerShell command.

You can manually remove Sensitivity Labels through Sharepoint admin center.

1.SharePoint admin center >> (Sites) Active sites >> find the specific site and click it

116617-1.png

116618-2.png


2.On theSite detailed settings page, click on Policies >> Edit Sensitivity

116663-3.png


3.On the edit sensitivity setting page, select None and save it.

116647-4.png

116665-5.png

Thanks,
Echo Du
================================
If an Answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.





1.png (27.0 KiB)
2.png (25.7 KiB)
3.png (14.6 KiB)
4.png (18.2 KiB)
5.png (16.8 KiB)
· 5
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi, thanks for the reply. I am aware of this method but have over 200 sites in the environment. Does this mean I have to do manually for each of them?

Thanks,

Mike.

0 Votes 0 ·

Hi @mvz00 ,

Yes, because you cannot use powershell to remove Sensitivity Labels.

Thanks,
Echo Du

1 Vote 1 ·

I appreciate the response, but this isn't really a solution to the problem.

Having to manually re-configure hundreds of sites via the GUI is not really an option. And the fact that the commands exist to set the sensitivity label but not remove it is quite absurd.

Thanks,

Mike.

0 Votes 0 ·
Show more comments