-
Notifications
You must be signed in to change notification settings - Fork 3.3k
Description
Describe the bug
az login --debug hangs on urllib3.connectionpool: Starting new HTTPS connection (1): login.microsoftonline.com:443 when I'm using ipv6.
Related command
az login --debug
az logout --debug
etc
Errors
No error, just silently hangs
Issue script & Debug output
Same as earlier issue #31221 (comment)
Expected behavior
AZ login does not hang
Environment Summary
azure-cli 2.77.0
core 2.77.0
telemetry 1.1.0
Dependencies:
msal 1.34.0b1
azure-mgmt-resource 23.3.0
Python location '/opt/homebrew/Cellar/azure-cli/2.77.0/libexec/bin/python'
Config directory '/Users/tshih/.azure'
Extensions directory '/Users/tshih/.azure/cliextensions'
Python (Darwin) 3.13.7 (main, Aug 14 2025, 11:12:11) [Clang 17.0.0 (clang-1700.0.13.3)]
Legal docs and information: aka.ms/AzureCliLegal
Your CLI is up-to-date.
Additional context
I had to turn off IPV6 on my access point in order to authenticate. See #31221 (comment)