az login stopped working after updating to latest az cli #27955
Labels
Account
az login/account
Auto-Assign
Auto assign by bot
Azure CLI Team
The command of the issue is owned by Azure CLI team
question
The issue doesn't require a change to the product in order to be resolved. Most issues start as that
Milestone
Describe the bug
After updating to the latest az cli, I get an error message when i run az login. I can proceed with device code but it doesn't support a usecase.
Here is the output:
and here is the output of az version
Happy to share further info
Related command
az login
Errors
Issue script & Debug output
msal.telemetry: Generate or reuse correlation_id: XXXXXXXXXXXXXXXXXXXXXX
msal.oauth2cli.oauth2: Using http://localhost:45495 as redirect_uri
msal.oauth2cli.authcode: Abort by visit http://localhost:45495?error=abort
Expected behavior
I expect a browser to pop up where i enter the login details
Environment Summary
azure-cli 2.54.0
core 2.54.0
telemetry 1.1.0
Extensions:
bastion 0.2.5
connectedk8s 1.4.2
customlocation 0.1.3
k8s-extension 1.5.2
mobile-network 0.2.1
ssh 2.0.1
Dependencies:
msal 1.24.0b2
azure-mgmt-resource 23.1.0b2
Python location '/opt/az/bin/python3'
Extensions directory '/home/shobhit/.azure/cliextensions'
Python (Linux) 3.11.5 (main, Nov 8 2023, 05:20:54) [GCC 11.4.0]
Legal docs and information: aka.ms/AzureCliLegal
Additional context
No response
The text was updated successfully, but these errors were encountered: