Azure / Azure/azure-cli

why i am not able to login to my azure cli

Open
#31,224 2 comments 0 reactions 1 assignee Claimed by @jiasli View on GitHub
Account act-identity-squad Auto-Assign Auto-Resolve Azure CLI Team customer-reported question
Dominant language
Python
Stars
4.6k
Forks
3.5k
Avg merge
3d 2h
Merged PRs (30d)
60

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_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.