OfficeDev / teams-toolkit

Developer tools for building Teams apps
Other
435 stars 171 forks source link

Select V2 of Teams #11466

Open pkbullock opened 2 months ago

pkbullock commented 2 months ago

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.

microsoft-github-policy-service[bot] commented 2 months ago

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.

blackchoey commented 2 months ago

@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
therealjohn commented 2 months ago

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}",

microsoft-github-policy-service[bot] commented 1 day ago

This issue has been automatically marked as stale because it has been marked as requiring author feedback but has not had any activity for 7 days. It will be closed if no further activity occurs within 3 days of this comment. If it is closed, feel free to comment when you are able to provide the additional information and we will re-investigate.