Error occurred in deployment step Install app for SharePoint Communication with the SharePoint server in canceled

Error occurred in deployment step Install app for SharePoint

Here we will discuss how we can resolve the issue which comes while trying to deploy sharePoint hosted add-in to SharePoint online office 365. Recently we were developing a workflow using visual studio 2015 for SharePoint online site as a SharePoint hosted add-in. When we try deploying the workflow from visual studio, it gave the below error after taking long time to deploy.

The error comes as:
Error occurred in deployment step ‘Install app for SharePoint’: Communication with the SharePoint server in canceled.

SharePoint deveopment training course

It looks like below:

Error occurred in deployment step Install app for SharePoint
Error occurred in deployment step Install app for SharePoint

Read some sharepoint online tutorials:


Solution:
Due to network connectivity, sometimes it took long time to deploy and if it took too much time, then the error message will come sometime.

So the way we resolve it is, we restarted the visual studio and then retry deploying the add-in. After that the issue did not come and the add-in deployed successfully.

Check out Best Alternative to InfoPath -> Try Now

free sharepoint training

SharePoint Online FREE Training

JOIN a FREE SharePoint Video Course (3 Part Video Series)

envelope
envelope

About Bhawana Rathore

Hello Everyone!! I am Bhawana a SharePoint MVP and having about 8+ years of SharePoint experience as well as in .Net technologies . I have worked in all the versions of SharePoint from wss to Office 365. I have good exposure in Customization and Migration using Nintex, Metalogix tools . Now exploring more in SharePoint 2016 :) Hope here I can contribute and share my knowledge to the fullest. As I believe "There is no wealth like knowledge, and no poverty like ignorance"

View all posts by Bhawana Rathore →