Grant-PnPAzureADAppSitePermission- Access denied

%3CLINGO-SUB%20id%3D%22lingo-sub-3071326%22%20slang%3D%22en-US%22%3EGrant-PnPAzureADAppSitePermission-%20Access%20denied%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-3071326%22%20slang%3D%22en-US%22%3E%3CP%3EWe%20are%20getting%20the%20below%20error%20while%20running%20the%20%E2%80%9CGrantAzureADAppPermission%E2%80%9D%20command%20for%20Azure%20App%20permission%20using%20Graph%20API%3A%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EGrant-PnPAzureADAppSitePermission%3A%20%7B%22error%22%3A%7B%22code%22%3A%22accessDenied%22%2C%22message%22%3A%22Access%20denied%22%2C%22innerError%22%3A%7B%22date%22%3A%222022-01-21T08%3A34%3A00%22%2C%3C%2FP%3E%3CP%3E%22request-id%22%3A%22ed29a056-7d22-482a-8f3c-c9c97700ec29%22%2C%22client-request-id%22%3A%22ed29a056-7d22-482a-8f3c-c9c97700ec29%22%7D%7D%7D%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3Eplease%20find%20the%20screenshot%20below%20with%20both%20sites.FullContr%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22lekshmi1000_0-1643112725508.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F342253i0E4E903453BA63C9%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22lekshmi1000_0-1643112725508.png%22%20alt%3D%22lekshmi1000_0-1643112725508.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-3071326%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EAzure%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
Occasional Visitor

We are getting the below error while running the “GrantAzureADAppPermission” command for Azure App permission using Graph API:

 

Grant-PnPAzureADAppSitePermission: {"error":{"code":"accessDenied","message":"Access denied","innerError":{"date":"2022-01-21T08:34:00",

"request-id":"ed29a056-7d22-482a-8f3c-c9c97700ec29","client-request-id":"ed29a056-7d22-482a-8f3c-c9c97700ec29"}}}

 

please find the screenshot below with both sites.FullContr

 

lekshmi1000_0-1643112725508.png

 

0 Replies