Skip to content

[BUG]Add-PnPFileSensitivityLabel ran successfully but the sensitivity label is not applied to the SharePoint file. #5102

@rpallapothu123

Description

@rpallapothu123

Reporting an Issue or Missing Feature

Add-PnPFileSensitivityLabel appears to be not working as expected.

Expected behavior

After the command is executed successfully, the sensitivity label will be assigned to the SharePoint file and should be visible in the user interface.

Actual behavior

Add-PnPFileSensitivityLabel appears to have run successfully, but the sensitivity label was not applied to the SharePoint file as expected.

Steps to reproduce behavior

Add-PnPFileSensitivityLabel -Identity "" -SensitivityLabelId "" -AssignmentMethod Privileged

What is the version of the Cmdlet module you are running?

3.1.166 nightly PnP.PowerShell

Which operating system/environment are you running PnP PowerShell on?

  • Windows

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions