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
Issue #2: We allow for resource group defaults using az config set, az configure --defaults, and az config param-persist. This actually then changes the default subscription. Yet, if a customer does a "list" or "show", they only see the resource group value. This is very confusing when they have set their subscription value, then over-write themselves with a resource group default.
The text was updated successfully, but these errors were encountered:
ghost
added
the
needs-triage
This is a new issue that needs to be triaged to the appropriate team.
label
Dec 21, 2020
az config set is designed as a util to modify ~/.azure/config, same as editing it manually with a text editor. Currently there is not check on the config option name.
az configure --defaults is deprecated, please use az config set defaults.group=xxx. Meanwhile, the correct command to change selected subscription is another command az account set --subscription xxx.
@jiasli, The following article, Manage Azure subscriptions with the Azure CLI was published to address the config confusion, I am not confident that az configure --defaults has been removed from all docs, but I'll create a work item and take a look.
dbradish-microsoft
changed the title
spelling error in az config is not throwing an error
az configure | spelling error in parameter name is not throwing an error
Oct 8, 2024
Issue #1: It looks like a customer can enter any value as a default. "subscription" isn't even a supported config value according to https://docs.microsoft.com/en-us/cli/azure/azure-cli-configuration?view=azure-cli-latest#cli-configuration-with-az-configure.
Issue #2: We allow for resource group defaults using az config set, az configure --defaults, and az config param-persist. This actually then changes the default subscription. Yet, if a customer does a "list" or "show", they only see the resource group value. This is very confusing when they have set their subscription value, then over-write themselves with a resource group default.
The text was updated successfully, but these errors were encountered: