vscode-azureresourcegroups icon indicating copy to clipboard operation
vscode-azureresourcegroups copied to clipboard

"RESOURCES" and  "ACCOUNTS & TENANTS" views keep "Waiting for Azure sign-in..." status after clicking the "Cancel" button during the second account sign-in process

Open v-meilei opened this issue 1 year ago • 2 comments

OS: Mac (M1 Pro)/Linux Build Version: v0.10.0 Regression: Not a regression

Repro Steps:

  1. Set "Microsoft-authentication: Implementation" to "msal" in "Settings" page. Image
  2. Make sure logged into 1 Microsoft account.
  3. F1 -> Select "Azure: Sign in" -> Click the "Allow" button -> Select "Sign in to another account" to open the browser.
  4. Return to VS Code -> Click the "Cancel" button -> Select "Cancel" to cancel sign-in. Image
  5. Check whether "RESOURCES" and "ACCOUNTS & TENANTS" views show well.

Expect: "RESOURCES" and "ACCOUNTS & TENANTS" views show well.

Actual: "RESOURCES" and "ACCOUNTS & TENANTS" views keep "Waiting for Azure sign-in..." status. Image

More Info:

  1. This issue does not reproduce if setting "Microsoft-authentication: Implementation" to "classic" in "Settings" page.
  2. Reload Window can resolve this issue.

v-meilei avatar Dec 18 '24 09:12 v-meilei

When you press cancel does an error pop up after? Normally an error such as this should pop up: Image

motm32 avatar Dec 18 '24 18:12 motm32

@motm32 Hi Megan, an "Canceled" error pops up after pressing "cancel" button, but only in the case of this issue, "RESOURCES" and "ACCOUNTS & TENANTS" views keep "Waiting for Azure sign-in..." status, the GIF is as follows:

https://github.com/user-attachments/assets/57fc09a7-6921-4090-a723-4eccecde0c36

v-meilei avatar Dec 19 '24 02:12 v-meilei