Reporting an Issue or Missing Feature
Connecting to PnP, and ran following command:
Add-PnPFileSensitivityLabel -Identity "/sites/MySite/Documents partages/General/test.pptx" -SensitivityLabelId "" -AssignmentMethod Privileged -JustificationText "test"
Expected behavior
Either adding Sensitivity Label, or failing with clear exception
Actual behavior
Printing : "Add-PnPFileSensitivityLabel: Exception of type 'System.Exception' was thrown.", no ErrorDetails.
What is the version of the Cmdlet module you are running?
3.1.0
Which operating system/environment are you running PnP PowerShell on?