Skip to content

“Debug in Teams (edge)” Opens Random Chat, Desktop Debug Works Fine #14234

@ndamulelonemakh

Description

@ndamulelonemakh

Describe the bug

When I launch a “Debug in Teams (edge)” local debug session in VS Code and choose Web preview, Teams uploads the app but then flashes a popup and opens a random existing chat instead of loading my side-loaded app. Previously it would open the Teams web client directly into my bot conversation.

To Reproduce

  1. Open your Teams project in VS Code (Using the Teams App template for Python)
  2. Press F5 (or click “Debug → Start Debugging”) and select Teams (local).
  3. When prompted, pick Web as the preview target.
  4. Watch the browser popup flash, then Teams web opens an unrelated chat window.

Expected behavior

After selecting Web preview, the Teams web client should open with my side-loaded app loaded in a conversation pane (ready to chat), not drop me into a random existing chat.

Screenshots

  • N/a

VS Code Extension Information (please complete the following information):

  • OS: macOS 15.5
  • Identifier: teamsdevapp.ms-teams-vscode-extension
  • Version: 6.0.2 (Last Updated: 2025-07-02 12:36:59)

CLI Information (please complete the following information):

  • OS: macOS 15.5
  • CLI Version: @microsoft/teamsfx4.0.0

Additional context

  • Desktop preview works correctly every time; only Web preview is broken.
  • Verified same M365 account in VS Code and browser, dev tunnel cert trusted, and manifest credentials up to date.

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions