Open salman2learn opened 3 months ago
Thank you for opening this issue, we will look into it.
Here are some similar issues that might help you. Please check if they can solve your problem.
This is because the config file ~/.azure/config
is corrupted: core.only_show_errors
is set to true.
(notice the trailing period sign). Please fix the invalid value and change it to true
.
Describe the bug
Related command
az login
Errors
File "/opt/az/lib/python3.11/site-packages/knack/config.py", line 147, in getboolean raise ValueError('Not a boolean: {}'.format(val)) ValueError: Not a boolean: true.
Issue script & Debug output
az login
Expected behavior
az login should start authentication sequence or show subscription list, if authenticated.
Environment Summary
ubuntu 20.04 python 3.11 installed azure cli using: curl -sL https://aka.ms/InstallAzureCLIDeb | sudo bash
Additional context
No response