Forum Discussion
PNP Provisioning operations are very slow for SharePoint Online Classic site
Hello,
We are facing following issue in provisioning SharePoint Online site through PNP.
Currently, a site is being provisioning in O365 tenant (US) through PNP Provisioning code, adding Add-ins and applying customization etc.
The time required to provision sites is quite variable. Sometimes, it is done in 2-3 minutes during off time period while it takes around 15 minutes during US business hours.
- SharePoint Online Site creation - 7-10 minutes
- Add ins + template customization ( Root Site ) - 5/10 minutes
- Branding customization ( Root Site ) - 1-2 minutes
- Sub site creation - 1/2 minutes
- Add ins + Template Customization ( Subsite ) - 5/10 minutes
- Branding customization ( Sub site ) - 1/2 minutes
Has anyone in the past faced such a situation? Is there any best practices to follow to avoid longer time period for the deployment ? Or it could be related O365 tenant configuration ?
Any help will be highly appreciated, Thank you in advance !
- Luis Arturo Guerra GarciaCopper Contributor
Hello, I'm also having this issue with template provisioning, is taking too much time to complete (90 minutes).
I posted a question about this in Stack Exchange.
Also, it seems somebody also had this issue and published a post on the GitHub project.
It seems that installing the program that uses CSOM in the Azure service with the correct resources allows the program to run faster, although I do not know why this happens, and why installing the program in a server has not the same results.
Did you manage to find a solution for this issue?