-
Notifications
You must be signed in to change notification settings - Fork 381
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Hi Community,
I'm trying to apply a retention label to a SharePoint Online document library using PnP PowerShell. Here's the command I'm using: Set-PnPRetentionLabel -List $libraryName -Label $retentionLabel -SyncToItems $true
Before this we were able to apply label by using same script.
However, I’m encountering the following error:
Set-PnPRetentionLabel: Value cannot be null. Parameter name: Empty correlation Guid.
I've verified that both $libraryName and $retentionLabel are correctly populated. Has anyone encountered this issue before or can suggest what might be causing it?
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working