Skip to content

Conversation

@jiasli
Copy link
Member

@jiasli jiasli commented Feb 24, 2023

Related command
az login

Description
Currently, if some tenant contains no accessible subscription, Azure CLI shows a warning as below:

image

However, it can confuse the user and make the user think the JSON contains inaccessible tenants.

This PR adds an extra empty line to separate the warning from output.

image

Per my understanding, a better place to show the warning is after the JSON, in the post-output hint (#16242), since if the JSON is very long, it will "flood" the warning message. The user will have to scroll all the way up to see it. However, the post-output hint feature along with its implementation detail is still under discussion.

@ghost ghost added the Auto-Assign Auto assign by bot label Feb 24, 2023
@ghost ghost requested a review from yonzhan February 24, 2023 08:25
@ghost ghost assigned jiasli Feb 24, 2023
@ghost ghost added this to the Feb 2023 (2023-03-07) milestone Feb 24, 2023
@ghost ghost added Account az login/account Core CLI core infrastructure labels Feb 24, 2023
@yonzhan
Copy link
Collaborator

yonzhan commented Feb 24, 2023

Add @dcaro to share some comments for above two proposals.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Account az login/account Auto-Assign Auto assign by bot Core CLI core infrastructure

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants