az login hangs on WSL
See original GitHub issueDescribe the bug
Running az login
hangs, no output is shown. This is on Debian 10 over WSL on Windows 1809.
Running az login --debug
logs the following link, opening manually and logging in works fine.
Open browser with url: https://login.microsoftonline.com/common/oauth2/authorize?....
Command Name
az login
Errors: None
To Reproduce:
Steps to reproduce the behavior. Note that argument values have been redacted, as they may contain sensitive information.
az login
Expected Behavior
The browser opens.
Environment Summary
Linux-4.4.0-17763-Microsoft-x86_64-with-debian-10.4
Python 3.6.10
Installer: DEB
azure-cli 2.9.1
Additional Context
Issue Analytics
- State:
- Created 3 years ago
- Comments:7 (3 by maintainers)
Top Results From Across the Web
az login hangs - Microsoft Q&A
Hi, I have an issue with the az login. ... az login might hang when more than one instances of az login are...
Read more >az devops login hangs - Stack Overflow
Every time I execute the login subcommand the window hangs and locks up, I have to restart the PowerShell ISE to try again....
Read more >Az Login Hangs - LoginsLink
Describe the bug Running az login hangs, no output is shown. This is on Debian 10 over WSL on Windows 1809. Running az...
Read more >az aks browse doesn't open browser automatically on WSL ...
I would expect it to work like az login and open up a new tab in default browser. But somehow it doesn't work...
Read more >Azure CLI Installation on Linux - Cytron Technologies
Run the Azure CLI with the az command. To sign in, use the az login command. ... The CLI relies on some features...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I’ll use
az login --use-device-code
as that also works. I’m good to close this issue provided we get the change from #14505.Thank you
az login hangs on wsl2