Skip to content

Not able to upgrade az cli #31636

@CsCherrYY

Description

@CsCherrYY

Describe the bug

I'm trying to run command az upgrade in ev2 shell extension but failed. Is there anything I can do to make it work?

Related command

az upgrade

Errors

WARNING: cli.azure.cli.command_modules.util.custom: Not able to upgrade automatically. Instructions can be found at https://aka.ms/doc/InstallAzureCli

Issue script & Debug output

2025-06-11 06:32:15.935935: WARNING: cli.azure.cli.command_modules.util.custom: Your current Azure CLI version is 2.71.0. It will be updated to 2.74.0.
2025-06-11 06:32:15.936223: WARNING: cli.azure.cli.command_modules.util.custom: Not able to upgrade automatically. Instructions can be found at https://aka.ms/doc/InstallAzureCli
2025-06-11 06:32:16.191561: WARNING: cli.azure.cli.command_modules.util.custom: CLI upgrade failed or aborted.

Expected behavior

Upgrade the az cli

Environment Summary

azure cli 2.71.0
ev2 shell extension image adm-azurelinux-30-l-v1

Additional context

No response

Metadata

Metadata

Assignees

Labels

Auto-AssignAuto assign by botAzure CLI TeamThe command of the issue is owned by Azure CLI teamPossible-SolutionSimilar-IssueUpgradeaz upgradequestionThe issue doesn't require a change to the product in order to be resolved. Most issues start as that

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions