Unable to Update Azure CLI in Azure Cloud Shell

Anon4343 451 Reputation points
2024-01-10T23:37:09.24+00:00

Anytime I run az upgrade in either bash or PowerShell in the Azure Portal, it fails with: This command is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus Your current Azure CLI version is 2.55.0. Latest version available is 2.56.0. Please check the release notes first: https://docs.microsoft.com/cli/azure/release-notes-azure-cli Do you want to continue? (Y/n): y Not able to upgrade automatically. Instructions can be found at https://aka.ms/doc/InstallAzureCli CLI upgrade failed or aborted. The cloud resource provider is registered in the subscription.

Azure Cloud Services
Azure Cloud Services
An Azure platform as a service offer that is used to deploy web and cloud applications.
668 questions
0 comments No comments
{count} votes

Accepted answer
  1. Silvia Wibowo 3,411 Reputation points Microsoft Employee
    2024-01-11T02:35:04.1+00:00

    Hi @Anon4343 , I understand that you are using Azure Cloud Shell and want to upgrade Azure CLI.

    Microsoft routinely maintains and updates Cloud Shell. Currently, Cloud Shell comes with Azure CLI version 2.55.0 pre-installed. You can't upgrade Azure CLI yourself, as it is managed by Microsoft.

    Please accept an answer if correct. Original posters help the community find answers faster by identifying the correct answer. Here is how.


0 additional answers

Sort by: Most helpful