-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Closed
Labels
Accountaz login/accountaz login/accountService AttentionThis issue is responsible by Azure service team.This issue is responsible by Azure service team.
Milestone
Description
#12648 Describe the bug
Getting a python iterable error when attempting to az login into my Azure Stack Development Kit environment. I get prompted to input my password and then after entering it, I get the following error down below.
Command Name
az login
Errors:
The command failed with an unexpected error. Here is the traceback:
'NoneType' object is not iterable
Traceback (most recent call last):
File "C:\Users\VSSADM~1\AppData\Local\Temp\pip-install-yf22vmg2\knack\knack\cli.py", line 215, in invoke
File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure\cli\core\commands\__init__.py", line 654, in execute
File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure\cli\core\commands\__init__.py", line 718, in _run_jobs_serially
File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure\cli\core\commands\__init__.py", line 711, in _run_job
File "C:\Users\VSSADM~1\AppData\Local\Temp\pip-install-yf22vmg2\six\six.py", line 703, in reraise
File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure\cli\core\commands\__init__.py", line 688, in _run_job
File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure\cli\core\commands\__init__.py", line 325, in __call__
File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure\cli\core\__init__.py", line 545, in default_command_handler
File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure\cli\command_modules\profile\custom.py", line 150, in login
File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure\cli\core\_profile.py", line 240, in find_subscriptions_on_login
File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure\cli\core\_profile.py", line 276, in _normalize_properties
TypeError: 'NoneType' object is not iterable
To Reproduce:
Steps to reproduce the behavior. Note that argument values have been redacted, as they may contain sensitive information.
- az cloud register
- az cloud set
- az cloud update
az login -u {} --tenant {}
Expected Behavior
Following the az login -u {} --tenant {} command, you get prompted for your password and then you successfully login into your environment.
Environment Summary
Windows-10-10.0.17763-SP0
Python 3.6.6
Installer: MSI
azure-cli 2.6.0
Additional Context
Reactions are currently unavailable
Metadata
Metadata
Labels
Accountaz login/accountaz login/accountService AttentionThis issue is responsible by Azure service team.This issue is responsible by Azure service team.