Skip to content

[feat request] For multi-tenant scenarios, make azd to ask which tenant to use before selecting a subscription. #2993

Description

@vhvb1989

Creating this issue from user's feedback in here: https://teams.microsoft.com/l/message/19:ug5DKpbpRJbBtgoSQAXdynHgthpALgePNJ8wb5AI8HM1@thread.tacv2/1698881662837?tenantId=72f988bf-86f1-41af-91ab-2d7cd011db47&groupId=c99e8504-1250-4d95-a824-9778e0e626c7&parentMessageId=1698881662837&teamName=Azure%20Developer%20CLI%20(azd)%20Partners&channelName=General&createdTime=1698881662837

when there are more than two AAD directories, the listing of the subscription will be a listing of ALL subscriptions from both Tenants. What makes this so confusing is if you have one tenant that has a huge number of subscriptions and another that has only one or two then you don't expect to see a long list when you connect to the tenant with a few subs.

It would probably help if azd first show the list of tenants and, after selecting one of them, show the subscriptions.

Metadata

Metadata

Assignees

Labels

area/authAuthentication, credentials, identityarea/core-cliCLI commands, cmd/, internal/cmd/enhancementNew feature or improvement

Fields

No fields configured for Feature.

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions