-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
{Core} Update WAM-related messages #28994
Conversation
️✔️AzureCLI-FullTest
|
️✔️AzureCLI-BreakingChangeTest
|
refine WAM-related messages |
Windows systems use Web Account Manager (WAM), and Linux and macOS systems use browser-based login by default. | ||
If WAM or a web browser is not available, CLI will fall back to device code login. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is to address #28841 (comment).
I copied the text from https://learn.microsoft.com/en-us/cli/azure/authenticate-azure-cli-interactively#interactive-login
Perhaps we can use
Windows systems use Web Account Manager (WAM), and Linux and macOS systems use browser-based login by default. | |
If WAM or a web browser is not available, CLI will fall back to device code login. | |
Azure CLI uses Web Account Manager (WAM) on Windows, and browser-based login on Linux and macOS by default. | |
If WAM or a web browser is not available, Azure CLI will fall back to device code login. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One thing, @jiasli, there are many "CLIs" at Microsoft. Granted, if a customer is receiving this message in-line, we are obviously talking about "Azure CLI", but just letting you know that in docs, I always use the full name. I also have a quality remediation work item to change this in TOCs and other docs that talk about our product. No update requested. Just communicating.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have changed "CLI" to "Azure CLI" to be explicit.
@dbradish-microsoft, which statement do you prefer?
Windows systems use Web Account Manager (WAM), and Linux and macOS systems use browser-based login by default. If WAM or a web browser is not available, CLI will fall back to device code login.
or
Azure CLI uses Web Account Manager (WAM) on Windows, and browser-based login on Linux and macOS by default. If WAM or a web browser is not available, Azure CLI will fall back to device code login.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@jiasli, definitely the 2nd sentence.
@@ -29,6 +29,9 @@ | |||
AZURE_CLIENT_ID = "AZURE_CLIENT_ID" | |||
AZURE_CLIENT_SECRET = "AZURE_CLIENT_SECRET" | |||
|
|||
WAM_PROMPT = ( | |||
"Please select the account you want to log in with. " |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Removing "Please" as suggested by @dbradish-microsoft:
In docs, they also don't like us to use "please"
"Please select the account you want to log in with. " | |
"Select the account you want to log in with. " |
Related command
az login
Description
Fix #28841 (comment)
Update the WAM prompt message after making WAM the default authentication method on Windows (#28841). This information is already in the history notes of #28841.
Testing Guide
az login