Skip to content

[BUG] Cloud shell is not running the latest version and cannot be upgraded. #510

@jonwbstr

Description

@jonwbstr

To Reproduce

Launch a cloud shell from the azure portal

Observed Behavior

VERBOSE: Authenticating to Azure ...
WARNING: You're using Az version 12.4.0. The latest version of Az is 13.0.0. Upgrade your Az modules using the following commands:
  Update-PSResource Az -WhatIf    -- Simulate updating your Az modules.
  Update-PSResource Az            -- Update your Az modules.
There will be breaking changes from 12.4.0 to 13.0.0. Open https://go.microsoft.com/fwlink/?linkid=2241373 and check the details.
VERBOSE: Building your Azure drive ...
PS /home/protected> update-psresource az                                                                       
Update-PSResource: No installed packages were found with name 'az' in scope 'CurrentUser'. First install package using 'Install-PSResource'.

Expected behavior

Cloud shell should be using the latest version? Or,
This warning should be suppressed?

Is this specific to Cloud Shell?

Yes, I also can't seem to update the AZ modules from the cloud shell

Interface information

https://portal.azure.com
Edge on Windows 11

Metadata

Metadata

Assignees

No one assigned

    Labels

    Tool_changeThis is related to updating an existing Cloud Shell toolbugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions