Cannot create & deploy the first revision of Container App

Rohit Manohar 0 Reputation points
2024-11-19T21:09:43.8366667+00:00

I am trying to deploy a new container revision but it won't allow me to deploy the first revision because it is trying to load the previous revision details in the mandatory field "Based on revision". This seems like some weird cyclic dependency that can't be resolved ?

For the record - This is the first time I'm trying to deploy a container app on Azure

  • I have a valid container registry image tagged as latest
  • I have a valid user defined identity with the role to perform "container pulls" associated with the registry and the container app.
  • I have applied all the environment variables needed for the app.
  • I don't have a volume for the container

What am I doing wrong ?
Screenshot 2024-11-19 at 16.00.03

Azure Container Apps
Azure Container Apps
An Azure service that provides a general-purpose, serverless container platform.
456 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Ryan Hill 28,726 Reputation points Microsoft Employee
    2024-11-20T00:05:12.7333333+00:00

    Hi @Rohit Manohar

    I didn't run into that issue. In fact, the revision was auto populated with the replica name. My guess is that your replica isn't in a good state. You can confirm this by checking the App Down or Reporting errors detector in Diagnose and solve problems blade. Furthermore, if you click on the Containers blade, and change your base revision image or activate a different one.

    I also encourage you to use the Troubleshooting in Azure Container Apps | Microsoft Learn guide for basic scenarios that you're most likely encountering.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.