azure-cli icon indicating copy to clipboard operation
azure-cli copied to clipboard

Provide better error message for az login -u -p?

Open haocs opened this issue 10 years ago • 1 comments

If user logins using az login -u "wrong_user_name" -p "some_passwd" but provides a wrong username, the following error message from az is not very helpful to figure out the issue. Server returned an unknown AccountType: unknown

It will be nice if we could provide a clearer error message like "user name not found or username password not match".

haocs avatar Sep 20 '16 00:09 haocs

fixed by #962

yugangw-msft avatar Sep 23 '16 18:09 yugangw-msft