Azure / Azure/azure-cli

Azure CLI not using local configuration

Open
#22,007 4 comments 0 reactions 1 assignee Claimed by @jiasli View on GitHub
act-codegen-extensibility-squad Auto-Assign Configure customer-reported feature-request
Dominant language
Python
Stars
4.6k
Forks
3.5k
Avg merge
3d 2h
Merged PRs (30d)
60

Description

## Describe the bug

Azure CLI doesn't use local configuration set with `az config set --local`

**Command Name**
`az configure`

## To Reproduce:
Steps to reproduce the behavior. Note that argument values have been redacted, as they may contain sensitive information.

```sh
mkdir folder
cd folder
az config set core.output=json
az config set --local core.output=table
az account list
```

## Expected Behavior

The last command should honor the local configuration and use the `table` output format instead of `json`.

## Environment Summary
```
Linux-5.10.102.1-microsoft-standard-WSL2-x86_64-with-debian-bullseye-sid, Ubuntu 20.04 LTS
Python 3.6.10
Installer: DEB

azure-cli 2.32.0 *

Extensions:
account 0.2.1
interactive 0.4.5

Dependencies:
msal 1.16.0
azure-mgmt-resource 20.0.0
```
## Additional Context

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.