Quantcast
Channel: SharePoint Pals - Access Denied
Viewing all articles
Browse latest Browse all 7

Exception - Access Denied when trying to apply ApplyProvisioningTemplate using OfficeDevPnP

$
0
0

I was writing a Remote Event Receiver to create a web and apply ApplyProvisioningTemplate using OfficeDevPnP.

Subsite got created but when applying provisioning template I got access denied error.

I got access denied error though I have provided Full Control permission to SiteCollection in AppManifest.XML.

Solution for this issue is, we need to give the app permissions in the taxonomy. I did this in the appmanifest.xml file:

 <AppPermissionRequests>   <AppPermissionRequest Scope="http://sharepoint/taxonomy" Right="Write" /> </AppPermissionRequests> 

Viewing all articles
Browse latest Browse all 7

Trending Articles