microsoft / microsoft/vscode-azureresourcegroups

"Sign in to Directory..." shows in Azure Resources view after signing in with MSAL

Open
#935 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

🐛bug AT-CTI
Dominant language
TypeScript
Stars
78
Forks
55
Avg merge
16h 49m
Merged PRs (30d)
139

Description

OS: All
Build Version: 20241004.1
Regression: Not a regression

Repro Steps:

  1. Enable the setting "Microsoft: Use Msal".
    Image
  2. Click "Sign in to Azure..." in Azure Resources view and sign in with Azure Account.
  3. Check whether the subscriptions are listed in Azure Resources view.

Expect:
The subscriptions are listed in Azure Resources view.

Actual:
"Sign in to Directory..." shows in Azure Resources view.
Image

More Info:

  1. This issue does not reproduce if the setting "Microsoft: Use Msal" is disabled.
  2. Click "Sign in to Directory..." to sign in again, the subscriptions will be listed.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start in the Azure Resources view flow after enabling "Microsoft: Use Msal", then trace the "Sign in to Azure..." and "Sign in to Directory..." authentication paths. Reproduce the issue and compare the subscription-loading state after Azure Account sign-in. Done means subscriptions appear without requiring a second directory sign-in.

Written by the indexing model from the issue text.

Assessment

Tech stack
azure, typescript, vscode
Domain
authentication, cloud
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.