Skip to content

az login not working #32447

@oscarmh

Description

@oscarmh

Describe the bug

urllib3.connectionpool: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ConnectTimeoutError(<urllib3.connection.HTTPSConnection object at 0x7f17ffd49fd0>, 'Connection to login.microsoftonline.com timed out. (connect timeout=None)')': /organizations/v2.0/.well-known/openid-configuration

azure-cli 2.80.0
core 2.80.0
telemetry 1.1.0
Dependencies:
msal 1.34.0b1
azure-mgmt-resource 23.3.0

Python location '/opt/az/bin/python3'
Config directory '/root/.azure'
Extensions directory '/root/.azure/cliextensions'

deleted .azure but still same thing

Related command

az login
az login --use-device-code

Errors

urllib3.connectionpool: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ConnectTimeoutError(<urllib3.connection.HTTPSConnection object at 0x7f38a2ff1fd0>, 'Connection to login.microsoftonline.com timed out. (connect timeout=None)')': /organizations/v2.0/.well-known/openid-configuration

Issue script & Debug output

urllib3.connectionpool: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ConnectTimeoutError(<urllib3.connection.HTTPSConnection object at 0x7f38a2ff1fd0>, 'Connection to login.microsoftonline.com timed out. (connect timeout=None)')': /organizations/v2.0/.well-known/openid-configuration

Expected behavior

authenticate ?

Environment Summary

azure-cli 2.80.0

core 2.80.0
telemetry 1.1.0

Dependencies:
msal 1.34.0b1
azure-mgmt-resource 23.3.0

Python location '/opt/az/bin/python3'
Config directory '/root/.azure'
Extensions directory '/root/.azure/cliextensions'

Python (Linux) 3.13.9 (main, Nov 11 2025, 12:31:34) [GCC 11.4.0]

Legal docs and information: aka.ms/AzureCliLegal

Your CLI is up-to-date.

Additional context

no additional context, Ubuntu in WSL, DNS working fine.

Metadata

Metadata

Assignees

Labels

Accountaz login/accountAuto-AssignAuto assign by botAzure CLI TeamThe command of the issue is owned by Azure CLI teamcustomer-reportedIssues that are reported by GitHub users external to the Azure organization.questionThe issue doesn't require a change to the product in order to be resolved. Most issues start as that

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions