You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 17, 2026. It is now read-only.
If you used az configure --defaults group=<name> to define a default resource group for the az cli, all commands that do not define a resource group will fail.
I quickly tested a fix in hexa code, and forcing and empty resource group param (--resource-group '') to all command that do not define the --resource-group flag fixes the issue.
So all command should for a --resource-group param (even empty) to avoid issues with configured defaults.
Note: I'm unsure whether a double single quote '' works as an empty param on Windows, it needs to be checked.
Describe the bug
If you used
az configure --defaults group=<name>to define a default resource group for the az cli, all commands that do not define a resource group will fail.I quickly tested a fix in hexa code, and forcing and empty resource group param (
--resource-group '') to all command that do not define the--resource-groupflag fixes the issue.So all command should for a
--resource-groupparam (even empty) to avoid issues with configured defaults.Note: I'm unsure whether a double single quote
''works as an empty param on Windows, it needs to be checked.