Skip to content

Modern login subscription selector #33386

@glenthomas

Description

@glenthomas

Preconditions

  • No need to upgrade Python SDK or the Python SDK is ready.

Related command

az login

Resource Provider

N/A

Description of Feature or Work Requested

The login subscription selector is unusable in my organisation as we have a lot of subscriptions and they have long names.

So, for example, what I see is:

...
[728]    My long subscription name goes her ...  f53cc0ce-63ea-49b1-848f-d35be4db64fa  My Organisation
[729]    My long subscription name goes her ...   16d16aec-0f8f-40d7-b9b9-ca1dcbd4863e  My Organisation
[730]    My long subscription name goes her...  f80541bf-e73f-4365-8ac1-90551d043c81  My Organisation
[731]    My long subscription name goes her ...  f238a693-1376-4f86-9f34-4dbb332269b0  My Organisation
...

It is impossible for my to identify a subscription from this list based on the name, and I can't memorise all of the subscription IDs and find them in a huge list.

Firstly, it would be great to see the full subscription name. Then I would really appreciate some kind of search/autocomplete feature like exists on modern CLI implementations.

Currently I always login, hit Enter on the subscription selector without trying to pick a subscription, then I do az account set. If the subscription selector was better I wouldn't need to do the second command.

Minimum API Version Required

N/A

Swagger PR link / SDK link

N/A

Request Example

No response

Target Date

2026-06-30

PM Contact

N/A

Engineer Contact

N/A

Additional context

No response

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions