Set Default Document Library Sensitivity Labels with Pnp Powershell command line #3672
Unanswered
RAFINISA2024
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Set Default Document Library Sensitivity Labels with Pnp PowerShell command line ,I have a requirement of setting 300 Document Library default sensitivity labels. I need pnp script for this.
please let me know suggestions.
I have tried below code but not worked.. getting "Set-PnPSiteSensitivityLabel: The remote server returned an error: (404) Not Found."
$newSiteURL = "https://mysite URL"
Connect-PnPOnline -Url $newSiteURL -Interactive
Set-PnPSiteSensitivityLabel -Identity 5b2fcc3d-8d31-4539-8102-29bc71d19831
Beta Was this translation helpful? Give feedback.
All reactions