From 6cb4dc1174110f4fecefc0515b7ecfef78bb826c Mon Sep 17 00:00:00 2001 From: jiasli <4003950+jiasli@users.noreply.github.com> Date: Fri, 28 Jan 2022 10:04:53 +0800 Subject: [PATCH] Update warning message for auth code flow --- src/azure-cli-core/azure/cli/core/auth/identity.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/azure-cli-core/azure/cli/core/auth/identity.py b/src/azure-cli-core/azure/cli/core/auth/identity.py index ac6ee9c262c..ca7b10533b1 100644 --- a/src/azure-cli-core/azure/cli/core/auth/identity.py +++ b/src/azure-cli-core/azure/cli/core/auth/identity.py @@ -159,7 +159,7 @@ def _service_principal_store(self): def login_with_auth_code(self, scopes, **kwargs): # Emit a warning to inform that a browser is opened. # Only show the path part of the URL and hide the query string. - logger.warning("The default web browser has been opened at %s. Please continue the login in the web browser. " + logger.warning("A web browser has been opened at %s. Please continue the login in the web browser. " "If no web browser is available or if the web browser fails to open, use device code flow " "with `az login --use-device-code`.", self._msal_app.authority.authorization_endpoint)