Skip to content

azlogin does not function when the 64-bit version of the Azure CLI is installed #74

@girlpunk

Description

@girlpunk

The armclient azlogin command relies on the a fixed path to the az command (found in AzAuthHelper.cs. However, this means that if the azure CLI is installed as a 64-bit program (and thus located in C:\Program Files\Microsoft SDKs\Azure\CLI2\wbin\az.cmd), the command fails with the error Azure cli is required.

Ideally, the az command should be looked up from the environment's path, rather than relying on a static location.

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