-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Enhancement Proposal] User and tenant isolation #15005
Comments
login Enhancement |
@yonzhan - any ETA when this will be implemented? |
Thank you @miqm for your interest in feature. 😊 We will consider this feature in future planning with our PM @chasewilson. |
Now I more and more prefer keeping the current flattened subscription list and introducing combined primary key which consists of Thus, we can keep the current interface of |
@jiasli any progress? |
Issue
Currently, Azure CLI uses
subscriptionId
as the primary key to distinguish between accounts (stored in~/.azure/azureProfile.json
).azure-cli/src/azure-cli-core/azure/cli/core/_profile.py
Lines 399 to 405 in 58c9f78
This causes problem when
az login
is run twice with different accounts that have access to the same subscriptions. The subscriptions listed during the secondaz login
will overwrite subscriptions from the firstaz login
.azure-cli/src/azure-cli-core/azure/cli/core/_profile.py
Lines 924 to 935 in 58c9f78
Proposal
username + tenant_id + subscription_id
.az account set --username
.az account set --tenant
.The text was updated successfully, but these errors were encountered: