Skip to content

azd up error for all agents: could not determine container registry endpoint (but azd provision+ azd deploy works) #613

@Menghua1

Description

@Menghua1

Description:
Running azd up directly will fail during the container service deployment phase, displaying an error message indicating that the container registry endpoint cannot be determined.

However, if the process is broken down into two steps: first running azd provision, then running azd deploy, the deployment will succeed.
Image

Steps to Reproduce:

  1. Initialize the project: azd init --template Azure-Samples/ai-foundry-starter-basic.
  2. Initialize AI agent: azd ai agent init -m https://github.com/microsoft-foundry/foundry-samples/blob/main/samples/python/hosted-agents/langgraph/calculator-agent/agent.yaml and select location southcentralus.
  3. Run azd up.

Environment:

Expected Behavior:
azd up can be run successfully directly.

@JeffreyCA and @rajeshkamal5050 for notification.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions