Deploying Addins to Office365 using PnP is slow and inconsistent

New Contributor

Hello Experts,

 

   We are following this link (https://blogs.msdn.microsoft.com/vesku/2015/11/20/automating-add-inapp-installation-to-sharepoint-si... deploy four addins to sharepoint online, however the time taken to deploy is inconsistent. Sometime its slow, sometimes its fast. Given below are the numbers cumulative time taken to deploy addins. We have enabled tracing on console, but the debug info shown is very abstract and we are unable to find out what is happening behind the scenes once we fire the method web.LoadAndInstallApp(appstream).

 

IST

CST

Add-Ins Deployment Time

3:00 PM

4:30 AM

00:06:27.6140828

3:30 PM

5:00 AM

00:00:58.4380964

3:53 PM

5:23 AM

00:01:47.0873114

5:48 PM

7:18 AM

00:10:07.6430890

 

Please help as we need to optimize the time.

3 Replies

I don't think this inconsistency is caused by PnP itself. I have seen the same inconsistency deploying apps through the browser... If this is unacceptable to you or your customer I'd suggest reporting an issue through your Office 365 admin center

i would recommend asking these type of questions in the SharePoint Developer group in this network where it will be sure to be seen by many PnP experts. You may also want to post an Issue in the GitHub repo