HI Team,
I have built a docker Image and pushed into Azure Container registry from Azure devops portal. I am trying to deploy the image from ACR into App service via "Azure Webapp for container" task.
When I do it, I am getting the below error
##[error]Error: Failed to patch App Service 'XXXappservicenameXXX' configuration. Error: BadRequest - The parameter WindowsFxVersion has an invalid value. Could not find the specified image name and tag combination. For private registries, make sure you are prepending the image name with the server hostname. https://mcr.microsoft.com (CODE: 400)
Solutions tried:
1) Tried to update the Container setting -> ACR-> gave the explicit values. Got the below error:
##[error]Error: Failed to patch App Service 'APPservicename' configuration. Error: BadRequest - The parameter DOCKER_REGISTRY_SERVER_URL has an invalid value. Unexpected error when connecting to the registry. Cannot find available registry. http://appservicename.azurecr.io (CODE: 400)
Please provide a solution to get this resolved.
Thanks,
Sai