Azure / Azure/azure-cli

Allow use of the interactive subscription selector for selecting amongst already logged in accounts

Open
#29,724 1 comment 1 reaction 1 assignee Claimed by @jiasli View on GitHub
Account act-identity-squad ARM Auto-Assign Azure CLI Team customer-reported feature-request
Dominant language
Python
Stars
4.6k
Forks
3.5k
Avg merge
3d 2h
Merged PRs (30d)
60

Description

**Related command**
`az account set`

**Is your feature request related to a problem? Please describe.**
The new [SubscriptionSelector](https://github.com/Azure/azure-cli/blob/ad96375e3940108bb011e4efb51be0cd748af4a7/src/azure-cli/azure/cli/command_modules/profile/_subscription_selector.py#L13) is useful when selecting amongst a list of subscriptions in interactive scenarios. Unfortunately it is only usable as part of the `az login` experience.

**Describe the solution you'd like**
Support the interactive subscription selector amongst existing logged in accounts e.g. `az account set --interactive`.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.