Forum Discussion
PnP Deploy Template to existing Multiple Sharepoint Site Collections
We use C# so we can have some more control on the rollout. And only do updates on the selected parts we noticed especially Lists are slowing the provisioning down. So if you do not update a list remove it out of your template. Or only do the parts you need.
Hope this helps. And i noticed if you do it over the weekend the system is most of the time 30-40% faster. As the load is not that high.
Paul,
Thanks for the reply.I am applying only selected parts (Lists/Security/Content types) in the template. There are situations where I need to update the lists. For 100+ sites, it is taking almost 8+ hours depending on the changes. Sometimes, we get 401 unauthorized error while the execution is in progress. (May be due to DDOS). We are re-running the deployment again for such sites.
Is there a way to automate the deployment? I mean give the list of sites as input and the template -which has the list of changes and run the deployment and log the errors if any.
- DeletedJun 04, 2018
Yes that would be to create a webjob in azure or a console app that performs the update but complete lists content types etc takes a long time. Be sure you only update what is necessary and leave out the components that do not need to be updated.