OfficeDev / teams-toolkit

Developer tools for building Teams apps
Other
453 stars 186 forks source link

Possible "This app cannot be found" error when debugging a new Teams app #11808

Open blackchoey opened 3 months ago

blackchoey commented 3 months ago

Describe the bug When you use a tenant other than your corporate tenant (like a M365 dev tenant), you may meet "This app cannot be found" error when debugging a new Teams app.

Workaround This root cause of this error is Teams logs in your corporate account instead of your test account (like an account in your M365 dev tenant) when debugging. To workaround this error:

  1. Logout your corporate account in the opened Teams Web Client
  2. Login your test account to Teams Web Client in the same browser window
  3. Close the opened browser window to stop debugging and debug your Teams app again. You should be able to sideload your app.

Please stay tuned on the updates. If you're impacted by this issue, please leave a comment to let us be aware of the impact to you.

microsoft-github-policy-service[bot] commented 3 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.