Skip to content

Azure CLI not using local configuration #22007

@adriancuadrado

Description

@adriancuadrado

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.

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

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions