Forum Discussion
Ravi Khambhati
Jan 18, 2018Copper Contributor
Apply-PnPProvisioningTemplate fails to provision the site
Here is my scenario if you keep creating a template of a site and create a site with that template it fails on the third occurrence with below message.
Create new site for e.g. "RaviSite01"
Cre...
Deleted
Jan 19, 2018Do you also have the XML of your template?
Ravi Khambhati
Jan 19, 2018Copper Contributor
Sorry to say but I am working on a restricted environment and can not share that with you.
But if you follow the PowerShell commands I posted you should be able to reproduce the issue.
When I applied the template on step #2 it creates this view. Here is the screen of the xml file where you can see additional view named "Calendar1.aspx". Once this view is there I can not apply this template. So the problem is with Apply-PnPProvisioningTemplate and not sure why it creates this view.