Repository navigation
Login issues on Azure CLI #34026
Description
Activity
- addedcustomer-reportedIssues that are reported by GitHub users external to the Azure organization.Issues that are reported by GitHub users external to the Azure organization.
on Sep 3, 2026 Thank you for opening this issue, we will look into it.
- addedAzure CLI TeamThe command of the issue is owned by Azure CLI teamThe command of the issue is owned by Azure CLI teamquestionThe 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
on Sep 3, 2026 - addedRequest X Engineering AgentRequest X Engineering Agent testing and reviewRequest X Engineering Agent testing and review
on Sep 17, 2026 x-engineering-agent commented
on Sep 17, 2026 ContributorMore actionsHi avatarrok, thanks for reporting this. To reproduce the Codespaces login/subscription-selection failure, please share:
- The screenshot's exact command/flags and error or prompt as text.
- Azure CLI version (
az version), Codespaces OS, and shell. - Steps leading to the failure, and whether “works online” means Azure portal or Cloud Shell.
CLI version / OS / shell: Command: Error or prompt: Steps: Working online environment:Please redact credentials, tokens, device codes, and account/tenant/subscription identifiers. This issue will be picked up automatically after you reply.
- addedagent-assist-needs-infoWaiting for information requested by agent-assistWaiting for information requested by agent-assist
on Sep 17, 2026 CLI version / OS / shell: 2.90.0-*64
Command: az login
Error or prompt: I press enter to select the active subscription (as there is only 1 available) but it generate the below:[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=2271236If 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.
Steps: Trying to login to my Github codespaces account to do the frontier week hack but it took over 2 weeks to respond and i have missed a learning opportunity. I have followed the links provided in the response it returned but it does not seem to work.
Working online environment: GitHub Codespaces/Azure CLI on windowsx-engineering-agent commented
on Sep 18, 2026 ContributorMore actionsHi avatarrok, thanks for the details, and sorry this disrupted your learning session. The
[Announcements]and[Warning]text you pasted does not itself indicate that login failed.To identify what is still failing, please share:
- After pressing Enter, does the terminal return to its normal command prompt, or remain stuck?
- In that same terminal, run
az account show --query "{state:state,isDefault:isDefault}" -o jsonand share the result or exact error. This query omits account, tenant, and subscription identifiers. - If that succeeds, share the first subsequent command that fails and its exact error, with credentials and personal/resource identifiers removed.
I'll pick this up automatically once you reply.
- removedRequest X Engineering AgentRequest X Engineering Agent testing and reviewRequest X Engineering Agent testing and review
on Sep 23, 2026 x-engineering-agent commented
on Sep 23, 2026 ContributorMore actionsYou ran
az loginin GitHub Codespaces, pressed Enter for the only subscription, and returned to the normal shell prompt. Your follow-up check returnedisDefault: trueandstate: Enabled; you also supplied CLI2.90.0-*64and the announcement/output warning. Thank you for those details.To understand the remaining blocker, could you clarify:
- Is returning to the prompt itself the concern, or does a subsequent Azure CLI operation fail? If an operation fails, please share that exact command and its error or unexpected output, with sensitive values removed.
- What outcome did you expect instead?
There is no need to repeat the environment or output already provided. Automation will resume after your reply.
x-engineering-agent commented
on Sep 26, 2026 ContributorMore actionsHi avatarrok, following up on the remaining question. The enabled default subscription and return to the shell prompt you reported are consistent with a completed login.
Is returning to the prompt the concern, or is a subsequent Azure CLI command still failing? If a command fails, please share that command, its error or unexpected output with sensitive values removed, and what you expected instead. There is no need to repeat the version or account-status output already supplied.
I'll pick this up automatically once you reply.
Hi Microsoft Team,
Please, can you assist, as I have been having login issues on my GitHub Codespaces terminal, which is not allowing me to log in/select the subscription to use on Azure CLI, but it works online. see screenshot below.