Skip to content

Login window opens in background and doesn't remember last used accounts #29743

@rubenaster

Description

@rubenaster

Describe the bug

Using az login with the new CLI now opens only a small login window, fair enough. But this window opens somewhere in the backgorund and I don't see it in the tab browser, which means I always have to search it.

In addition, it doesn't remember last logged in accounts, which means that I always have to re-enter my email adresses (I have multiple customers).

I'm calling the az login command from Visual Studio Code PowerShell terminal.

Related command

az login

Errors

See description

Issue script & Debug output

See description

Expected behavior

Window always opens in foreground, is visible using Alt+Tab and remembers last logged in accounts so I can quickly select them.

Environment Summary

azure-cli 2.63.0

core 2.63.0
telemetry 1.1.0

Extensions:
azure-devops 0.26.0

Dependencies:
msal 1.30.0
azure-mgmt-resource 23.1.1

Python location 'C:\Program Files\Microsoft SDKs\Azure\CLI2\python.exe'
Extensions directory 'C:\Users\USERNAME.azure\cliextensions'

Python (Windows) 3.11.8 (tags/v3.11.8:db85d51, Feb 6 2024, 22:03:32) [MSC v.1937 64 bit (AMD64)]

Additional context

No response

Metadata

Metadata

Assignees

Labels

Accountaz login/accountAuto-AssignAuto assign by botAzure CLI TeamThe command of the issue is owned by Azure CLI teamcustomer-reportedIssues that are reported by GitHub users external to the Azure organization.potential-pruningquestionThe issue doesn't require a change to the product in order to be resolved. Most issues start as that

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions