Recently while deploying provider hosted add-in to Microsoft Azure, I got the below error which says: Web deployment task failed. (Could not connect to the remote computer (“mywebsite.scm.azurewebsites.net”) using the specified process (“Web Management Service”) because the server did not respond. Make sure that the process (“Web Management Service”) is started on the remote computer. Learn more at: http:go.microsoft.com.link#ERROR_COULD_NOT_CONNECT_TO_REMOTESVC.)
Read some sharepoint online tutorials:
- Steps to create a provider hosted add-in in SharePoint Online
- Steps to create Azure WebJobs for SharePoint online and deploy in Microsoft Azure
The error looks like below:
Sometimes due to network issue, the error comes when we try to connect to Azure environment. Try two three times it will publish successfully.
Hope this will helpful.
SharePoint Online FREE Training
JOIN a FREE SharePoint Video Course (3 Part Video Series)