Grant-PnPAzureADAppSitePermission command is not working #4921
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
-
I am getting below error when executing below command. Pnp App 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