az login Invalid JSON #30718
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
customer-reported
Issues that are reported by GitHub users external to the Azure organization.
Possible-Solution
question
The issue doesn't require a change to the product in order to be resolved. Most issues start as that
Similar-Issue
Milestone
Describe the bug
Running az login raises a JSON is invalid error because some endpoint is returning html.
Related command
az login
Errors
Retrieving tenants and subscriptions for the selection...
JSON is invalid: Expecting value: line 1 column 1 (char 0)
Issue script & Debug output
Expected behavior
logs me in
Environment Summary
azure-cli 2.68.0
core 2.68.0
telemetry 1.1.0
Dependencies:
msal 1.31.1
azure-mgmt-resource 23.1.1
Python location '/opt/az/bin/python3'
Extensions directory '/home/vscode/.azure/cliextensions'
Python (Linux) 3.12.8 (main, Jan 8 2025, 03:38:21) [GCC 12.2.0]
Legal docs and information: aka.ms/AzureCliLegal
Your CLI is up-to-date.
Additional context
No response
The text was updated successfully, but these errors were encountered: