Open PaoloPia opened 7 years ago
Same problem here.
Apply-PnPProvisioningTemplate : Access denied. You do not have permission to perform this action or access this resource.
Apply-PnPProvisioningTemplate -Path ./Template.xml
throws error even after template is applied to site.
Problem occurs only on Modern Sites (O36 Groups).
Hi - I'm seeing the same issue. I've attached my template. My template performs the following: 1) Remove all web parts from home page except for Document Library web part 2) Creates 2 site content types and adds one of them to the Documents library 3) Includes 2 folders and 2 sample documents in the Document library 4) Replaces SiteIcon.jpg and SiteIcon.png in Site Assets with updated logos
Hi,
I am facing same issue during Apply-PnpProvisioningTemplate. After so long still there is no reply or solution for this error.
Steps to reproduce this error, Create SubSite - (Site1 in RootSite) Create New Columns in Site1 (at subsite level not root web level) Create Custom Content Types (same subsite level) Get-PnpProvisioningTemplate for Site1 Create New SubSite - (Site2) Apply-PnpProvisioningtemplate in Site2
it will create one Content Type in new subsite and then throw the same error "Access Denied".
Looking forward for your response for this issue.
Please refer to this item: https://github.com/SharePoint/PnP-Provisioning-Schema/issues/183