You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to remove retention labels from items in SPO. I can replace one retention label with another using Set-PnPListItem, but it won't let me use a null as the replacement value. The Reset-PnPLabel seems as though it would work, but it says it won't work if the retention label was manually or automatically applied. If it wasn't applied manually or automatically, it won't exist to be removed in the first place. It doesn't seem to do anything when I run it.
Removes the retention label on a list or library and its items. This resets an O365 label on the specified list or library to None and resets the label on all the items in the list and library except Folders and where the label has been manually or previously automatically assigned
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
I am trying to remove retention labels from items in SPO. I can replace one retention label with another using Set-PnPListItem, but it won't let me use a null as the replacement value. The Reset-PnPLabel seems as though it would work, but it says it won't work if the retention label was manually or automatically applied. If it wasn't applied manually or automatically, it won't exist to be removed in the first place. It doesn't seem to do anything when I run it.
https://pnp.github.io/powershell/cmdlets/Reset-PnPLabel.html
Removes the retention label on a list or library and its items. This resets an O365 label on the specified list or library to None and resets the label on all the items in the list and library except Folders and where the label has been manually or previously automatically assigned
Beta Was this translation helpful? Give feedback.
All reactions