I have two different custom images in two different repo in our Azure Container Repository.
I also have two App services configured to run containers though they both share the same App Service Plan.
I'm using an Azure Devops release pipeline with the Azure App Service deploy task to deploy updates to the App services. The process seems to work and the App Services are working fine. The only problem is that we're trying to enable CI/CD and the release pipeline always fails on the first attempt. Re-deploy and it works fine. I've duplicated the task in the pipeline with the expectation that the first will fail and the second will work. This appears to do the trick as a work around but is hardly a good solution. The only error message I get is
2020-03-16T13:47:07.8359865Z ##[error]Error: Failed to fetch Kudu App Settings. Error: Ip Forbidden (CODE: 403)
2020-03-16T13:47:07.9494964Z ##[warning]Error: Failed to update deployment history. Error: Ip Forbidden (CODE: 403)