-
Notifications
You must be signed in to change notification settings - Fork 3k
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
az login
cannot open web browser on WSL2 + Ubuntu 22.04
#27879
Comments
Thank you for opening this issue, we will look into it. |
I have the same issue. @yonzhan any ideas on how to fix or the root cause? Windows 11, wsl2, Ubuntu 22.04.3 LTS |
This is not an Azure CLI issue. It is recommended to report to microsoft/WSL#8892. |
Thanks! Can be solved by these steps microsoft/WSL#8892 (comment) |
Thanks @jiasli, this workaround "manually copy the URL to web browser" works for me! I'm using WSL and ctrl+click the link can open browser but got "Sorry, but we’re having trouble signing you in. AADSTS90023: Unsupported 'prompt' value." |
This is caused by a recent Windows Terminal bug microsoft/terminal#17495. |
Describe the bug
az login
cannot open web browser on WSL2 + Ubuntu 22.04.Upstream issues:
acquire_token_interactive
cannot open web browser on WSL2 + Ubuntu 22.04 AzureAD/microsoft-authentication-library-for-python#625To Reproduce
With
xdg-utils
installed:Without
xdg-utils
installed:Additional context
Windows Terminal supports Ctrl+Click to open hyperlinks, so the user can Ctrl+Click the URL shown in the error to open the web browser and the rest steps work as usual.
Some workarounds are provided in microsoft/WSL#8892 such as installing
wslu
.The text was updated successfully, but these errors were encountered: