Skip to content

VS Code Foundry Toolkit – Subscription selection stuck in loop, cannot proceed to resource group step #433

@prteotia

Description

@prteotia

While creating a Hosted Agent using "Microsoft Foundry Toolkit for VS Code", the setup flow gets stuck at the Azure subscription selection step.

After selecting a subscription, the UI repeatedly prompts to select the subscription again and does not proceed to the next step (resource group selection).

This blocks completing the Hosted Agent setup from VS Code.

Steps to Reproduce

  1. Open VS Code
  2. Open Command Palette (Ctrl + Shift + P)
  3. Run: Microsoft Foundry: Create new Hosted Agent
  4. Select framework and language
  5. When prompted to select Azure subscription:
    • Select valid subscription

Expected:
→ It should proceed to resource group selection

Actual:
→ It keeps asking to select subscription again (loop)

Environment
VS Code Version: (Help → About)
Extension: Foundry Toolkit for VS Code
Extension Version: 1.4.2
OS: Windows
Azure Account: Work account

Additional Info

  • Tried az logout / login
  • Cleared Azure cache
  • Restarted machine
  • Issue persists

Metadata

Metadata

Assignees

No one assigned

    Labels

    needs attentionThe issue needs contributor's attention

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions