-
Notifications
You must be signed in to change notification settings - Fork 3.4k
azure cli login issue #31040
Copy link
Copy link
Closed
Labels
Accountaz login/accountaz login/accountAuto-AssignAuto assign by botAuto assign by botAuto-ResolveAuto resolve by botAuto resolve by botAzure CLI TeamThe command of the issue is owned by Azure CLI teamThe command of the issue is owned by Azure CLI teamOKR CandidateThis label is used to track how many GitHub issues we have resolved for OKR purpose.This label is used to track how many GitHub issues we have resolved for OKR purpose.Possible-SolutionSimilar-IssueUpgradeaz upgradeaz upgradecustomer-reportedIssues that are reported by GitHub users external to the Azure organization.Issues that are reported by GitHub users external to the Azure organization.questionThe issue doesn't require a change to the product in order to be resolved. Most issues start as thatThe issue doesn't require a change to the product in order to be resolved. Most issues start as that
Milestone
Metadata
Metadata
Assignees
Labels
Accountaz login/accountaz login/accountAuto-AssignAuto assign by botAuto assign by botAuto-ResolveAuto resolve by botAuto resolve by botAzure CLI TeamThe command of the issue is owned by Azure CLI teamThe command of the issue is owned by Azure CLI teamOKR CandidateThis label is used to track how many GitHub issues we have resolved for OKR purpose.This label is used to track how many GitHub issues we have resolved for OKR purpose.Possible-SolutionSimilar-IssueUpgradeaz upgradeaz upgradecustomer-reportedIssues that are reported by GitHub users external to the Azure organization.Issues that are reported by GitHub users external to the Azure organization.questionThe issue doesn't require a change to the product in order to be resolved. Most issues start as thatThe issue doesn't require a change to the product in order to be resolved. Most issues start as that
Describe the bug
I am trying to loging in through azure cli . After user verification done command prompt ask to select the number for subscription . As soon i select subscription number the prompt comes out to actual drive instead of loging to azure prompt.
Related command
Errors
No Subscription name Subscription ID Tenant
[1] * Pay-As-You-Go f21d1832-aefb-4c57-b09f-787fee390287 fb80e59c-a6aa-493c-84ac-2978fcf5dc5d
The default is marked with an *; the default tenant is 'fb80e59c-a6aa-493c-84ac-2978fcf5dc5d' and subscription is 'Pay-As-You-Go' (f21d1832-aefb-4c57-b09f-787fee390287).
Select a subscription and tenant (Type a number or Enter for no changes): 1
Tenant: fb80e59c-a6aa-493c-84ac-2978fcf5dc5d
Subscription: Pay-As-You-Go (f21d1832-aefb-4c57-b09f-787fee390287)
[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
sal.broker: [MSAL:0001] WARNING SetAuthorityUri:78 Initializing authority from URI 'https://login.microsoftonline.com/fb80e59c-a6aa-493c-84ac-2978fcf5dc5d' without authority type, defaulting to MsSts
msal.broker: [MSAL:0002] INFO SetCorrelationId:258 Set correlation ID: 97600e0d-e456-426f-88d2-33eca844792d
msal.broker: [MSAL:0002] INFO ExecuteInteractiveRequest:1159 The original authority is 'https://login.microsoftonline.com/fb80e59c-a6aa-493c-84ac-2978fcf5dc5d'
msal.broker: [MSAL:0002] INFO ExecuteInteractiveRequest:1170 The normalized realm is ''
msal.broker: [MSAL:0002] INFO ModifyAndValidateAuthParameters:219 Additional query parameter added successfully. Key: '(pii)' Value: '(pii)'
msal.broker: [MSAL:0002] INFO ModifyAndValidateAuthParameters:219 Additional query parameter added successfully. Key: '(pii)' Value: '(pii)'
msal.bro
Expected behavior
it should log to azure
Environment Summary
azure-cli 2.65.0 *
core 2.65.0 *
telemetry 1.1.0
Dependencies:
msal 1.31.0
azure-mgmt-resource 23.1.1
Python location 'C:\Program Files\Microsoft SDKs\Azure\CLI2\python.exe'
Extensions directory 'C:\Users\Vikash.azure\cliextensions'
Python (Windows) 3.11.8 (tags/v3.11.8:db85d51, Feb 6 2024, 22:03:32) [MSC v.1937 64 bit (AMD64)]
Legal docs and information: aka.ms/AzureCliLegal
You have 2 update(s) available. Consider updating your CLI installation with 'az upgrade'
Additional context
NA