Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WebToolsE2E][ARM64] When running the "az login" command, an error message displayed saying 'User cancelled the accounts control operation'. #29293

Closed
ymmendoza opened this issue Jul 2, 2024 · 3 comments
Assignees
Labels
Account az login/account Auto-Assign Auto assign by bot Azure CLI Team The command of the issue is owned by Azure CLI team question The issue doesn't require a change to the product in order to be resolved. Most issues start as that
Milestone

Comments

@ymmendoza
Copy link

ymmendoza commented Jul 2, 2024

REPRO STEPS

  1. Clean machine: Win11 Arm64 (VSJADE)
  2. Install Azure CLI (Latest MSI of the Azure CLI (64-bit)).
  3. Open Command Prompt and run command "az login"

ACTUAL
The "az login" command isn't working in CMD after you select your account in the web browser.

Run 'az login'
image

EXPECTED
After Successfully install Azure CLI Latest MSI of the Azure (64-bit).
and Run the 'az login' command the account login should be successful

Note:
This issue does not repro in arm machines from DTL

@ymmendoza ymmendoza added the bug This issue requires a change to an existing behavior in the product in order to be resolved. label Jul 2, 2024
@yonzhan
Copy link
Collaborator

yonzhan commented Jul 2, 2024

Thank you for opening this issue, we will look into it.

@microsoft-github-policy-service microsoft-github-policy-service bot added Auto-Assign Auto assign by bot Account az login/account labels Jul 2, 2024
@microsoft-github-policy-service microsoft-github-policy-service bot added Azure CLI Team The command of the issue is owned by Azure CLI team question The issue doesn't require a change to the product in order to be resolved. Most issues start as that labels Jul 2, 2024
@yonzhan yonzhan added this to the Backlog milestone Jul 2, 2024
@yonzhan yonzhan removed the bug This issue requires a change to an existing behavior in the product in order to be resolved. label Jul 2, 2024
@ymmendoza ymmendoza changed the title When running the "az login" command, an error message displayed saying 'User cancelled the accounts control operation'. [WebToolsE2E][ARM64] When running the "az login" command, an error message displayed saying 'User cancelled the accounts control operation'. Jul 2, 2024
@jiasli
Copy link
Member

jiasli commented Jul 2, 2024

Duplicate of #28997

@jiasli jiasli marked this as a duplicate of #28997 Jul 2, 2024
@jiasli jiasli closed this as completed Jul 2, 2024
@ymmendoza
Copy link
Author

This workaround works for me:

az account clear
az config set core.enable_broker_on_windows=false
az login

This issue will be fixed in Azure CLI 2.62.0. The target release date is 07-09-2024.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Account az login/account Auto-Assign Auto assign by bot Azure CLI Team The command of the issue is owned by Azure CLI team question The issue doesn't require a change to the product in order to be resolved. Most issues start as that
Projects
None yet
Development

No branches or pull requests

3 participants