Forum Discussion
TeeroyLyon
May 15, 2023Copper Contributor
Update Sensitivity labels for documents powershell?
Hi all, We just migrated sites from on prem to SPO. The old sites had a Security Classification column with our classification (for example, Proprietary and Public). We have sensitivity labels ...
TeeroyLyon
May 16, 2023Copper Contributor
HI Shijuraj,
First, thanks for responding and providing this solution. Just want to ask...are you sure that Set-SPOSensitivityLabel is as valid command? It's not working, and the only instance I can find of that command in google, is this forum entry?
First, thanks for responding and providing this solution. Just want to ask...are you sure that Set-SPOSensitivityLabel is as valid command? It's not working, and the only instance I can find of that command in google, is this forum entry?
Deleted
May 16, 2023TeeroyLyon Oops.. its only available in beta version, could you please try this graph api method mentioned in this link: https://learn.microsoft.com/en-us/graph/api/driveitem-assignsensitivitylabel?view=graph-rest-beta&tabs=http
If I have answered your question, please mark your post as Solved If you like my response, please give it a like |