-
Notifications
You must be signed in to change notification settings - Fork 388
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Reporting an Issue or Missing Feature
Get-PnPUnifiedAuditLog -ContentType DLP throws the error
Unauthorized (401): The permission set (ActivityFeed.Read ServiceHealth.Read) sent in the request does not include the expected permission.
Expected behavior
The cmdlet to be successful
Actual behavior
Error 401 thrown
Unauthorized (401): The permission set (ActivityFeed.Read ServiceHealth.Read) sent in the request does not include the expected permission.
Steps to reproduce behavior
$SiteUrl = "https://reshmeeauckloo.sharepoint.com/"
Connect-PnPOnline -url $siteurl -Interactive
Get-PnPUnifiedAuditLog -ContentType DLP
Upon some investigation, found out connecting with entra app with missing permissions threatintelligence and activity reports, I could not reproduce the issue anymore.
What is the version of the Cmdlet module you are running?
2.3.37
Please assign to me.
Which operating system/environment are you running PnP PowerShell on?
- Windows
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working