-
Notifications
You must be signed in to change notification settings - Fork 3.3k
Open
Labels
Accountaz login/accountaz login/accountAuto-AssignAuto assign by botAuto assign by botAzure CLI TeamThe command of the issue is owned by Azure CLI teamThe command of the issue is owned by Azure CLI teamcustomer-reportedIssues that are reported by GitHub users external to the Azure organization.Issues that are reported by GitHub users external to the Azure organization.potential-pruningquestionThe issue doesn't require a change to the product in order to be resolved. Most issues start as thatThe issue doesn't require a change to the product in order to be resolved. Most issues start as that
Milestone
Description
Describe the bug
If the Web Account Manager service is disabled, azure cli fails to login with an unhelpful error message
Related command
az login
Errors
Issue script & Debug output
I'm unable to provide --debug output when az login fails, it causes the console window to hang and block you from copying the debug text out of the console
Expected behavior
- After
az loginfails, the console window shouldn't hang (i.e. I should be able to copy text in/out of the console, or run additional commands) - The error message should provide more indication as to the failure. As reference, Visual Studio's error at least mentions that a service failed to start (even if it doens't mention the
Web Account Managementservice by name)

Environment Summary
azure-cli 2.59.0
core 2.59.0
telemetry 1.1.0
Extensions:
resource-graph 2.1.0
Dependencies:
msal 1.27.0
azure-mgmt-resource 23.1.0b2
Python location 'C:\Program Files\Microsoft SDKs\Azure\CLI2\python.exe'
Extensions directory 'C:\Users\alexanderc\.azure\cliextensions'
Python (Windows) 3.11.8 (tags/v3.11.8:db85d51, Feb 6 2024, 22:03:32) [MSC v.1937 64 bit (AMD64)]
Legal docs and information: aka.ms/AzureCliLegal
Your CLI is up-to-date.
Additional context
No response
Metadata
Metadata
Assignees
Labels
Accountaz login/accountaz login/accountAuto-AssignAuto assign by botAuto assign by botAzure CLI TeamThe command of the issue is owned by Azure CLI teamThe command of the issue is owned by Azure CLI teamcustomer-reportedIssues that are reported by GitHub users external to the Azure organization.Issues that are reported by GitHub users external to the Azure organization.potential-pruningquestionThe issue doesn't require a change to the product in order to be resolved. Most issues start as thatThe issue doesn't require a change to the product in order to be resolved. Most issues start as that
