Azure / Azure/azure-cli

AZCLI not honoring the AZURE_CONFIG_DIR env variable on Windows

Open
#19,901 1 comment 0 reactions 1 assignee Claimed by @jiasli View on GitHub
act-platform-engineering-squad Core feature-request
Dominant language
Python
Stars
4.6k
Forks
3.5k
Avg merge
3d 2h
Merged PRs (30d)
60

Description

**Describe the bug**
Since the last few releases of AZCLI, the tool stopped honoring the AZURE_CONFIG_DIR on Windows.
Before the change setting that variable allowed to redirect the .azure directory.
From that change, you now need to reset the HOME variable affecting also other tools.

**To Reproduce**
On Windows, set the AZURE_CONFIG_DIR environment variable, note that is not honored by AZCLI runs.

**Expected behavior**
Restore the previous behavior where the AZURE_CONFIG_DIR is honored on Windows as well.

**Environment summary**
Cmd on Windows.

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.