Switch tabs in my application takes too much time

Vuk Bajic 0 Reputation points
2025-02-24T12:40:31.56+00:00

Hello all,

I am developing an application in Microsoft Teams that contains two static tabs. When the user wants to switch between tabs it takes approximately 20 seconds.

After an investigation, I figured out that the Teams application doesn't send the request to my application for 20 seconds, and when it does, my app responds in 200ms.

I checked what happened in the network and console tab in developer tools when I wanted to switch tabs, but nothing happened in those 20 seconds.

I also checked the Teams application's logs; I will attach them.

Teams log while switching tabs.txt

Some technical details:

Microsoft Teams version 25031.805.3440.5290 (but every client has the same issue)
@microsoft/teams-js version: 2.3.0

Tab related properties from manifest file:

{
	"$schema": "https://developer.microsoft.com/en-us/json-schemas/teams/v1.12/MicrosoftTeams.schema.json",
	"manifestVersion": "1.12",
	"staticTabs": [
    {
      "entityId": "myAudience",
      "name": "My Audience",
      "contentUrl": "https://my-domain/my-audience",
      "scopes": [
        "personal"
      ]
    },
    {
      "entityId": "myActivities",
      "name": "My Activities",
      "contentUrl": "https://my-domain/my-activities",
      "scopes": [
        "personal"
      ]
    },
    {
      "entityId": "about",
      "scopes": [
        "personal"
      ]
    }
  	],
  	"validDomains": [
    "my-domain"
  	]
}

I hope you will help me!
Please let me know if you need any additional information.

Thanks in advance,
Vuk

Microsoft Teams Development
Microsoft Teams Development
Microsoft Teams: A Microsoft customizable chat-based workspace.Development: The process of researching, productizing, and refining new or existing technologies.
3,682 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Deleted

    This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.


    Comments have been turned off. Learn more

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.