Redeploy Request Submitted – Failed to redeploy

Having setup an External Git connection to my Azure DevOps repository.  This means I pull the content instead of implementing Azure Pipelines to push changes when committed, this is CI/CD.

image

Figure 1, Sync Azure Function Deployment Center Azure DevOps

Same issue as in this article – Access to the path is denied, Azure DevOps, Azure Deployment Center where there was a Networking restriction blocking my deployment.  I did that on purpose for testing, and I got this error.

image

Figure 2, deployment to Azure Function

Failed to redeploy: Repository ‘SyncSiteRepository’ operation failed with System.InvalidOperationException: Failed POST https://waws-prod-am2-061.api.azurewebsites.windows.net/deploy?scmType=ExternalGit&isAsync=true with The remote server returned an error: (500) Internal Server Error. —> System.Net.WebException: The remote server returned an error: (500) Internal Server Error. at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult) at Microsoft.Web.Hosting.Administration.SiteRepositoryProvider.AsyncOperation`1.OnEndMethod(IAsyncResult result) — End of inner exception stack trace — at Microsoft.Web.Hosting.Administration.SiteRepositoryProvider.<StartAsyncOperation>d__34`1.MoveNext()