Azure / Azure/azure-cli

az configure | spelling error in parameter name is not throwing an error

Open
#16,334 3 comments 0 reactions 1 assignee Assigned to @jiasli View on GitHub
act-codegen-extensibility-squad Configure Error Handling feature-request
Dominant language
Python
Stars
4.6k
Forks
3.5k
Avg merge
3d 2h
Merged PRs (30d)
60

Description

**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.

![image](https://user-images.githubusercontent.com/58762114/102802736-1a8b9a00-4385-11eb-80c4-b914e520e658.png)

**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.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.