-
Notifications
You must be signed in to change notification settings - Fork 3.4k
why i am not able to login to my azure cli #31224
Description
Describe the bug
not able to login to azure cli from my windows laptop
Related command
az login
Errors
The default is marked with an *; the default tenant is 'Default Directory' and subscription is 'My_Premium_Subscription' (fece5f5c-dfbb-445e-b122-ad450f0a4ec1).
Select a subscription and tenant (Type a number or Enter for no changes):
Tenant: Default Directory
Subscription: My_Premium_Subscription (fece5f5c-dfbb-445e-b122-ad450f0a4ec1)
[Announcements]
With the new Azure CLI login experience, you can select the subscription you want to use more easily. Learn more about it and its configuration at https://go.microsoft.com/fwlink/?linkid=2271236
If you encounter any problem, please open an issue at https://aka.ms/azclibug
[Warning] The login output has been updated. Please be aware that it no longer displays the full list of available subscriptions by default.
Issue script & Debug output
The default is marked with an *; the default tenant is 'Default Directory' and subscription is 'My_Premium_Subscription' (fece5f5c-dfbb-445e-b122-ad450f0a4ec1).
Select a subscription and tenant (Type a number or Enter for no changes):
Tenant: Default Directory
Subscription: My_Premium_Subscription (fece5f5c-dfbb-445e-b122-ad450f0a4ec1)
[Announcements]
With the new Azure CLI login experience, you can select the subscription you want to use more easily. Learn more about it and its configuration at https://go.microsoft.com/fwlink/?linkid=2271236
If you encounter any problem, please open an issue at https://aka.ms/azclibug
[Warning] The login output has been updated. Please be aware that it no longer displays the full list of available subscriptions by default.
Expected behavior
should login
Environment Summary
azure-cli 2.70.0 *
core 2.70.0 *
telemetry 1.1.0
Dependencies:
msal 1.31.2b1
azure-mgmt-resource 23.1.1
Python location 'C:\Program Files\Microsoft SDKs\Azure\CLI2\python.exe'
Config directory 'C:\Users\Avi.azure'
Extensions directory 'C:\Users\Avi.azure\cliextensions'
Python (Windows) 3.12.8 (tags/v3.12.8:2dc476b, Dec 3 2024, 19:30:04) [MSC v.1942 64 bit (AMD64)]
Additional context
No response