Get-PnPLabel / Set-PnPLabel started throwing error after running fine for 2+ years #5021
Unanswered
jherschel77
asked this question in
General
Replies: 2 comments 1 reply
-
I have the same issue. PnP.PowerShell 2.12.0. No solution found yet as I need application permissions to set the label with a script on new sites. |
Beta Was this translation helpful? Give feedback.
1 reply
-
I am also facing the same issue. I have tried PnP.PowerShell 2.12.0 & 3.12. No solution found yet. If anyone find a solution then please let me know. |
Beta Was this translation helpful? Give feedback.
0 replies
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.
-
I have an Azure Runbook that looks for newly created Teams and sets the Documents Library retention label. For the past 2 weeks, it has been failing with this error:
Value cannot be null. Parameter name: Empty correlation Guid -
Here is my code, I've spent a few hours trying to figure it out with no avail. Any thoughts? I did add the -ValuesOnly tag recently, but still fails...
` # Set label for library if NOT already set
`
I also just tried skipping the entire 'check to see if it is already set' and that doesn't work either:
Set-PnPLabel -List $listName -Label "Business" -SyncToItems $true
I wonder if some behind the scenes SharePoint stuff has changed....
Beta Was this translation helpful? Give feedback.
All reactions