Describe the bug
The az group list command fails with the error: API version 2022-09-01 does not have operation group 'resource_groups'
Command Name
az group list
Errors:
The command failed with an unexpected error. Here is the traceback:
API version 2022-09-01 does not have operation group 'resource_groups'
Traceback (most recent call last):
File "D:\a\_work\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\knack/cli.py", line 233, in invoke
File "D:\a\_work\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/commands/__init__.py", line 663, in execute
File "D:\a\_work\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/commands/__init__.py", line 726, in _run_jobs_serially
File "D:\a\_work\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/commands/__init__.py", line 697, in _run_job
File "D:\a\_work\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/commands/__init__.py", line 333, in __call__
File "D:\a\_work\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/commands/command_operation.py", line 121, in handler
File "D:\a\_work\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/command_modules/resource/custom.py", line 1306, in list_resource_groups
File "c:\users\bmoore\source\azdeploymentstacksprivatepreview\azure-mgmt-resource-21.2.0\azure\mgmt\resource\resources\_resource_management_client.py", line 436, in resource_groups
raise ValueError("API version {} does not have operation group 'resource_groups'".format(api_version))
ValueError: API version 2022-09-01 does not have operation group 'resource_groups'
To Reproduce:
Steps to reproduce the behavior. Note that argument values have been redacted, as they may contain sensitive information.
- Just run the command - have tried removing and reinstalling the CLI but no change in behavior.
Expected Behavior
Command should return the list of resource groups in the sub
Environment Summary
Windows-10-10.0.22621-SP0
Python 3.10.10
Installer: MSI
azure-cli 2.48.1
Additional Context
I think the issue is here, though I'm unable to get rid of it:
File "c:\users\bmoore\source\azdeploymentstacksprivatepreview\azure-mgmt-resource-21.2.0\azure\mgmt\resource\resources\_resource_management_client.py", line 436, in resource_groups raise ValueError("API version {} does not have operation group 'resource_groups'".format(api_version))
Describe the bug
The
az group listcommand fails with the error: API version 2022-09-01 does not have operation group 'resource_groups'Command Name
az group listErrors:
To Reproduce:
Steps to reproduce the behavior. Note that argument values have been redacted, as they may contain sensitive information.
Expected Behavior
Command should return the list of resource groups in the sub
Environment Summary
Additional Context
I think the issue is here, though I'm unable to get rid of it:
File "c:\users\bmoore\source\azdeploymentstacksprivatepreview\azure-mgmt-resource-21.2.0\azure\mgmt\resource\resources\_resource_management_client.py", line 436, in resource_groups raise ValueError("API version {} does not have operation group 'resource_groups'".format(api_version))