to note that the issue will be resolved if you downgrade to an earlier version ( 2.25.0) for example
The command failed with an unexpected error. Here is the traceback:
find_subscriptions_on_login() got an unexpected keyword argument 'scopes'
Traceback (most recent call last):
File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\knack/cli.py", line 231, in invoke
File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/commands/__init__.py", line 657, in execute
File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/commands/__init__.py", line 720, in _run_jobs_serially
File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/commands/__init__.py", line 691, in _run_job
File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/commands/__init__.py", line 328, in __call__
File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/commands/command_operation.py", line 121, in handler
File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/command_modules/profile/custom.py", line 152, in login
TypeError: find_subscriptions_on_login() got an unexpected keyword argument 'scopes'
Steps to reproduce the behavior. Note that argument values have been redacted, as they may contain sensitive information.
Windows-10-10.0.19041-SP0
Python 3.8.9
Installer: MSI
azure-cli 2.27.2
Extensions:
blueprint 0.3.1
resource-graph 2.1.0
This is autogenerated. Please review and update as needed.
After upgrading the AZ cli do 2.27.1 az login fail with the below error,
to note that the issue will be resolved if you downgrade to an earlier version ( 2.25.0) for example
Command Name
az loginErrors:
To Reproduce:
Steps to reproduce the behavior. Note that argument values have been redacted, as they may contain sensitive information.
az loginExpected Behavior
Environment Summary
Additional Context