Skip to content

[BUG] Get-PnPAvailableSensitivityLabel: Access denied. Check for the required permissions #2233

@YuriySamorodov

Description

@YuriySamorodov

Reporting an Issue or Missing Feature

Reporting a bug

Expected behavior

According to the documentation Get-PnPAvailableSensitivityLabel should give Microsoft Purview sensitivity labels in the currently connected tenant

Actual behavior

I am getting an error Access denied. Check for the required permissions whenever I try to run Get-PnPAvailableSensitivityLabel
image

Steps to reproduce behavior

Connect-PnPOnline
Get-PnPAvailableSensitivityLabel

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

Name    : PnP.PowerShell
Version : 1.11.35

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

  • Windows
  • Linux
  • MacOS
  • Azure Cloud Shell
  • Azure Functions
  • Other : please specify

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