Skip to content

Admin Console no longer works. New apps give access denied. Get-PnPAzureADAppSitePermission not working. #4351

Discussion options

You must be logged in to vote

The old shared app registration granted a LOT of consent - more than many of us needed. This article from fellow MVP Paul Bullock shows all the permissions the old app had: What permissions the PnP Management Shell app had in the past? | pkbullock.com

Now, when you want to use specific cmdlets, you need to just make sure you've consented to those permissions for the app registration you've set up. for Grant-PnPAzureADAppSitePermission you need: Microsoft Graph API: Sites.FullControl.All, just as you needed for Get-PnPAzureADAppSitePermission above.

Once you've granted consent for a specific API permission, it's available to anyone using that app registration. (In theory, you could have di…

Replies: 7 comments 7 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@ComputerHabit2
Comment options

@ComputerHabit2
Comment options

Comment options

You must be logged in to vote
3 replies
@ComputerHabit2
Comment options

@ComputerHabit2
Comment options

@ComputerHabit2
Comment options

Answer selected by ComputerHabit2
Comment options

You must be logged in to vote
1 reply
@ComputerHabit2
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@ComputerHabit2
Comment options

Comment options

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
None yet
2 participants