web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Copilot Studio
Suggested Answer

Slowness in response

(2) ShareShare
ReportReport
Posted on by 7
I have created an agent, provided instructions and added a mcp server as tool to use. Then published the agent to Teams and Copilot channels. It is working in the copilot but doesn't work in the Teams channel. But, the responses are very slow. The Test your agent is much faster though. Selected Claude 4.5 model. But other model didn't matter either.  In copilot also, lot of times, I see this error but gets resolved after sometime.
Sorry, something unexpected happened. We’re looking into it. Error code: SystemError. Conversation ID: ddaf5cd9-1a03-49b1-a017-49fabdec024d. Time (UTC): 3/5/2026 9:14:52 PM.
 
The same mcp server is used in another agent librechat and the responses are 3 times faster. What could be the reason and how to correct it.
 
Please help.
Thank you
Madhav
I have the same question (0)
  • Suggested answer
    MichaelFP Profile Picture
    2,001 Moderator on at
    Teams has a different way to work with the copilot agents, it will always more slow than use inside the Copilot 365.

    On the OnError topic try to get the details of the error on the teams or copilot chat, because by default only in test mode show the details of the error.
  • Suggested answer
    Sayali-MSFT Profile Picture
    Microsoft Employee on at
    Hello,
    Agents that work in Copilot Studio or Copilot may fail or respond slowly in Microsoft Teams because Teams runs a stricter execution environment. Unlike Copilot or the test pane, Teams enforces additional layers such as Bot Framework routing, security checks, SSO validation, and tighter response-time limits. When an MCP tool is used, the request must pass through orchestration steps including safety checks, tool selection reasoning, authentication validation, and post-tool grounding before generating a final response. This added processing introduces significant latency compared to environments like LibreChat, which typically call the MCP server directly. As a result, responses in Copilot are slower and Teams is often the slowest channel. If MCP tools take too long, require authentication, or return large outputs, Teams may silently time out and the user sees no response.
    The “SystemError” message usually indicates transient orchestration failures such as tool timeouts, throttling, or token issues rather than a problem with the MCP server itself. To improve reliability, MCP calls should be fast and minimal, tool usage should be limited, authentication must be validated for Teams, and agents should include fallback responses if tools fail. Overall, Teams should be treated as the strictest channel when designing agents, as its runtime constraints make scenarios like MCP + external tools particularly challenging.
     
  • Suggested answer
    deepakmehta13a Profile Picture
    369 on at

    Hi,

    The behavior you described is something that can happen when an agent is published to the Microsoft Teams channel, especially when the agent is using external tools such as an MCP server.

    When you use “Test your agent” in Copilot Studio, the request is sent directly to the Copilot runtime, so the response time is usually faster.

    However, when the agent is used in Microsoft Teams, the request goes through additional services before reaching the model and the tool:

    Teams' client → Teams bot service → Copilot runtime → model/tool → response back through the same path.

    Because of this extra processing layer, responses in Teams can sometimes be slower than in the Copilot Studio test environment.

    Another factor in your case is the MCP server tool. When the model decides to use the tool, the runtime must call the MCP server, wait for the result, and then generate the final answer. This additional round trip can significantly increase response time compared to a simple model response.

    The occasional SystemError you see can also occur when a request takes longer than expected or if there is a temporary service retry in the channel integration.

    A few things you might consider checking:

    • Whether the MCP tool is being called on every turn

    • If the tool response time is high

    • Testing with and without the tool enabled to compare latency

    • Monitoring logs or tool execution times to see where the delay occurs

    Since the same MCP server works faster in other clients, the additional latency is likely related to the Teams channel integration and the tool execution path, rather than the model itself.

    Hope this helps.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Copilot Studio

#1
Valantis Profile Picture

Valantis 277

#2
11manish Profile Picture

11manish 206

#3
sannavajjala87 Profile Picture

sannavajjala87 156 Super User 2026 Season 1

Last 30 days Overall leaderboard