Skip to content

Az account does not support switching between accounts #20222

@cveld

Description

@cveld

Is your feature request related to a problem? Please describe.
I have a couple of accounts in my tenant. az account set only allows for the current account to switch between subscriptions.

Describe the solution you'd like
I would like to be able to see all available contexts and switch between them. Refer to Az PowerShell's Get-AzContext -ListAvailable and Set-AzContext.

If you run az account list you will only see the "unique" subscriptions, not the full list available accounts.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions