Skip to content
This repository was archived by the owner on Sep 4, 2026. It is now read-only.
This repository was archived by the owner on Sep 4, 2026. It is now read-only.

Fail to run azd pipeline config --provider azdo for todo-nodejs-mongo-aks #16

Description

@puicchan

This is transferred from Azure/azure-dev#4348.

Describe the issue:
Running the azd pipeline config --provider azdo command fails with the following error message:
image

Repro Steps:

Login in with command: azd auth login.
Run command: azd init -t todo-nodejs-mongo-aks -b staging.
Run command: azd pipeline config --provider azdo.
Environment:

Template: todo-nodejs-mongo-aks.
Branch: staging
OS: Windows, MacOS.
Azd version: azd version 1.11.0-beta.1-pr.4140256 (commit Azure/azure-dev@b6402de) and azd version 1.11.0-beta.1-daily.4152592 (commit Azure/azure-dev@e2ff8ba)
Expected behavior:
azd pipeline config --provider azdo commands can be run successfully.

From Victor:
Looks like AZURE_PRINCIPAL_TYPE is not set during azd pipeline config and it is empty during CI run, making the runner to take the value of the literal ${AZURE_PRINCIPAL_TYPE} instead of replacing it with a value from the env.

This is an issue in the template configuration. The azure.yaml should define the AZURE_PRINCIPAL_TYPE in the pipeline->variables as a required ENV VAR to set during azd pipeline config

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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