microsoft / microsoft/vscode-azureresourcegroups

There is an extra step "Select a subscription" when executing "Deploy to Azure..." action if having multiple Microsoft accounts signed in but only checking 1 account

Open
#1,016 0 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: Win 11
Build Version: Azure Resources extension v0.10.2 & Azure Functions extension 20250110.1

Repro Steps:

  1. Sign in with 2 authenticated tenant‘s Microsoft accounts -> Select 1 subscription -> Check 1 account.
    Image
  2. F1 -> Select "Azure Functions: Deploy to Azure...".
  3. Check whether the next step is "Select a function app".

Expect:
The next step is the "Select a function app".
Image

Actual:
The next step is the "Select a subscription" step. (The number of subscriptions is equal to the number of multiple logged-in accounts)
Image

More Info:

  1. This issue also reproduces when executing "Azure Functions: Deploy to Function App..." and "Azure Functions: Deploy to Slot..." commands.
  2. This issue does not reproduce when executing other function-related commands.
  3. This issue does not reproduce on other extensions.

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

Reproduce the flow with two signed-in Microsoft accounts while selecting only one account, then run Azure Functions: Deploy to Azure.... Check the related Deploy to Function App... and Deploy to Slot... commands as well. Done means the next step is Select a function app rather than Select a subscription, matching the behavior of other function-related commands.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.