Skip to content

[BUG] Get-PnPGroup and Get-PnPGroupMember in Azure Automation runbook with System-Assigned Managed Identity throw a Not Authorized error #4781

Answered by gautamdsheth
dgwebb asked this question in General

You must be logged in to vote

This is a server side error due to insufficient permissions, moving it to discussion.
Would recommend changing permissions to Sites.FullCntrol (SharePoint) or Sites.Manage (SharePoint) and check

Replies: 2 comments

You must be logged in to vote
0 replies
Answer selected by dgwebb

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
2 participants
Converted from issue

This discussion was converted from issue #4766 on March 12, 2025 15:59.