-
Notifications
You must be signed in to change notification settings - Fork 3.3k
Closed
Labels
Accountaz login/accountaz login/accountPackaging/WindowsMSIcustomer-reportedIssues that are reported by GitHub users external to the Azure organization.Issues that are reported by GitHub users external to the Azure organization.
Milestone
Description
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 login
Errors:
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'
To Reproduce:
Steps to reproduce the behavior. Note that argument values have been redacted, as they may contain sensitive information.
- Put any pre-requisite steps here...
az login
Expected Behavior
Environment Summary
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
Additional Context
Metadata
Metadata
Assignees
Labels
Accountaz login/accountaz login/accountPackaging/WindowsMSIcustomer-reportedIssues that are reported by GitHub users external to the Azure organization.Issues that are reported by GitHub users external to the Azure organization.