-
Notifications
You must be signed in to change notification settings - Fork 3.3k
[Profile] az login: Add post-output hint
#27916
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: dev
Are you sure you want to change the base?
Conversation
️✔️AzureCLI-FullTest
|
|
Hi @jiasli, |
️✔️AzureCLI-BreakingChangeTest
|
|
#16242 emphasizes subscription name instead of subscription ID. If
I personally don't agree with this design, as subscription ID is
On the other hand, subscription name is
Azure CLI as an automation tool should focus on automation scenarios, instead of readability when they conflict. |
Related command
az loginDescription
This PR is a simplified version of #16242:
az login. No extra command modulehintis introduced.N/A(tenant level account). This is because the "dummy subscription representing a tenant" is already a bad design, so I don't want to spend too much effort explaining the intricacy. (See below for additional information.)TRYpart is omitted.Explanations:
stderr, so it won't corrupt the JSON printed tostdout.az loginshould not select the default subscription #27915 is implemented.Testing Guide
With subscription access:
Without subscription access:
Additional information
There is no concept of tenant account at all. There is only "dummy subscription representing a tenant". The help message of
az account setshows the same:Related discussions: