[BUG] Cannot apply a retention label that leaves a record unlocked by default #2799
Closed
1 of 6 tasks
Labels
bug
Something isn't working
Reporting an Issue or Missing Feature
When I apply a retention label using PnP PowerShell, it could have been set in Purview to leave a record Unlocked By Default. In the current setup though, this is ignored by PnP.PowerShell and the record is locked anyway.
When applying a label using PnP.PowerShell
![image](https://user-images.githubusercontent.com/5267487/218113620-8f491fd0-3bfa-45ad-a618-3b0f322d994d.png)
When applying the same label manually
![image](https://user-images.githubusercontent.com/5267487/218113784-5bd27492-57b7-4723-ba00-14354e8404b5.png)
Expected behavior
I expect PnP.PowerShell to leave a record unlocked by default when applying a label that has that behavior configured in Purview.
Actual behavior
It does not.
Steps to reproduce behavior
What is the version of the Cmdlet module you are running?
1.12
Which operating system/environment are you running PnP PowerShell on?
The text was updated successfully, but these errors were encountered: