Publish to Azure Error
I recently ran in to an issue I have not seen before. I was trying to publish to Azure App Services from my local Visual Studio 2022 and it failed with an error of: " Error 706 Web deployment task failed. (Could not connect to the remote computer ("xxx.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/fwlink/?LinkId=221672#ERROR_COULD_NOT_CONNECT_TO_REMOTESVC.)" It took me a couple of hours to troubleshoot and resolve this issue. This post is to document what I did to fix the error so next time I run into this error; I have documentation on how to resolve it. Process Followed I have always published my blog post sample code to Azure App Services from my local machine for a number of years. I think this might have been the first time using Visu...