Azure CLI
Azure CLI
Azure CLI: Working with Multiple Tenants Side by Side using AZURE_CONFIG_DIR
A single az sign-in shares one current subscription across every terminal, which is painful when you work for several tenants. Jaliya Udagedara shows how to give each account its own AZURE_CONFIG_DIR folder, sign in once per tenant and switch profiles automatically from the PowerShell prompt.