Grant-PnPAzureADAppSitePermission command is not working #4914
Unanswered
DharmendraYadav1990
asked this question in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I am getting below error when executing below command. Pnp is registered in Azure AD with full control.
Grant-PnPAzureADAppSitePermission -AppId "4*******---*****" -DisplayName "xxxxxxx" -Permissions Read -Site https://xyx.sharepoint.com/sites/abc
Grant-PnPAzureADAppSitePermission: {"error":{"code":"accessDenied","message":"Access denied","innerError":{"date":"2025-05-14T08:09:29","request-id":"f76acd40-6562-41ef-bee6-930958f01045","client-request-id":"f76acd40-6562-41ef-bee6-930958f01045"}}}
Beta Was this translation helpful? Give feedback.
All reactions