Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Select V2 of Teams #11466

Open
pkbullock opened this issue Apr 24, 2024 · 3 comments
Open

Select V2 of Teams #11466

pkbullock opened this issue Apr 24, 2024 · 3 comments
Assignees
Labels

Comments

@pkbullock
Copy link

pkbullock commented Apr 24, 2024

Is your feature request related to a problem? Please describe.

I am using InPrivate mode, and would like to specify the V2 Teams Client, just wondering if that can be specified in the launch.json somewhere, I cannot figure it out. Wondered if folks knew?

This is when debugging in Teams Toolkit. For some reason this is prompting to switch to V2 of the client. Ill see if this is a Team Admin switch too.

Copy link
Contributor

Thank you for contacting us! Any issue or feedback from you is quite important to us. We will do our best to fully respond to your issue as soon as possible. Sometimes additional investigations may be needed, we will usually get back to you within 2 days by adding comments to this issue. Please stay tuned.

@microsoft-github-policy-service microsoft-github-policy-service bot added the needs attention This issue needs the attention of a contributor. label Apr 24, 2024
@adashen adashen added investigating TA:Auth Team Area: Auth labels Apr 25, 2024
@blackchoey
Copy link
Contributor

@pkbullock Teams stores something in your bowser's storage to tell itself which version of Teams Client to be opened. If you want to use V2 Teams Client, please follow below steps:

  1. Start debugging your Teams app
  2. Switch to V2 Teams Client in the opened Teams Web Client
  3. Stop debugging and start debugging again
  4. The opened Teams Web Client would be V2 now

@blackchoey blackchoey removed the needs attention This issue needs the attention of a contributor. label Apr 25, 2024
@therealjohn
Copy link
Contributor

If you want to force v2, you may be able to modify the URL in launch.json to have /v2 in it like this:

"url": "https://teams.microsoft.com/v2/l/app/${{local:TEAMS_APP_ID}}?installAppPackage=true&webjoin=true&${account-hint}",

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants