-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Not able to upgrade az cli #31636
Copy link
Copy link
Closed
Labels
Auto-AssignAuto assign by botAuto assign by botAzure CLI TeamThe command of the issue is owned by Azure CLI teamThe command of the issue is owned by Azure CLI teamPossible-SolutionSimilar-IssueUpgradeaz upgradeaz upgradequestionThe issue doesn't require a change to the product in order to be resolved. Most issues start as thatThe issue doesn't require a change to the product in order to be resolved. Most issues start as that
Milestone
Metadata
Metadata
Labels
Auto-AssignAuto assign by botAuto assign by botAzure CLI TeamThe command of the issue is owned by Azure CLI teamThe command of the issue is owned by Azure CLI teamPossible-SolutionSimilar-IssueUpgradeaz upgradeaz upgradequestionThe issue doesn't require a change to the product in order to be resolved. Most issues start as thatThe issue doesn't require a change to the product in order to be resolved. Most issues start as that
Describe the bug
I'm trying to run command
az upgradein 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