Co Pilot Studio Error

Kumar, Vikash 20 Reputation points
2026-07-17T12:36:28.5033333+00:00

I am getting this error constantly when I am using the co pilot studio agent on teams.

Does anyone have idea what's happening here?

I have uninstalled the agent and installed the agent again also in teams but still same issue.

<PII removed>

Microsoft Teams | Development
Microsoft Teams | Development

Building, integrating, or customizing apps and workflows within Microsoft Teams using developer tools and APIs

0 comments No comments

Answer accepted by question author

Teddie-D 19,760 Reputation points Microsoft External Staff Moderator
2026-07-20T04:00:55.91+00:00

Hi @Kumar, Vikash

Since this is a public platform, I’ve moved the error message to a private message to avoid exposing any personal or organizational information. Kindly ensure that you hide any personal or organizational information the next time you post an error or other details to protect personal data.   

The SystemError message is a generic Copilot Studio runtime error and can be caused by several factors, including Teams channel configuration issues, connector or authentication problems, publishing inconsistencies, or other runtime errors. Similar reports have shown cases where an agent works correctly in the Copilot Studio test pane but encounters issues when running in Microsoft Teams.

To help narrow this down, could you confirm:

  • Does the agent work correctly in the Copilot Studio test pane?
  • Does the error occur for all prompts or only specific prompts?
  • Did the issue start after a recent publish or configuration change?

In the meantime, I recommend starting a new thread in the Microsoft Power Platform Community Forum, where Copilot Studio developers and community members may be able to share similar experiences or provide additional troubleshooting suggestions. Since this is a user-to-user forum, we do not have access to the internal telemetry or backend logs needed to investigate the Conversation ID further, you may also need to open a Microsoft support case and provide the Conversation ID and timestamp shown in the error message, as these details can help Microsoft Support team investigate the issue more effectively.

Thank you for your understanding.


Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread. 

Was this answer helpful?

1 person found this answer helpful.

1 additional answer

Sort by: Most helpful
  1. AI answer

    2026-07-17T12:36:47.9766667+00:00

    This usually points to a channel-side agent session problem in Teams, often caused by a stale conversation state or a flow/action mismatch if the agent calls Power Automate.

    Since reinstalling the agent in Teams did not help, use this order:

    1. Refresh the flow action in Copilot Studio
      • Open the topic that contains the Action node.
      • Select the ellipsis (...) on the action node, then select Refresh.
      • Verify the input and output parameters in Copilot Studio match the parameters in Power Automate.
      • Save and republish the agent.
    2. Check for null or missing inputs
      • Compare the values passed from Copilot Studio to the Power Automate flow.
      • If any input can be null, add a Message action in the flow to capture and return the input values for debugging.
      • Add logic or expressions in the flow to handle null or missing inputs.
    3. Force Teams to start a new conversation
      • In the Teams chat with the agent, type start over, goodbye, or another phrase that ends the conversation.
      • Start a brand-new chat session.
    4. Clear the Teams conversation state
      • In the Teams chat with the agent, enter:
             /debug clearstate
        
      • This resets the conversation context and forces Teams to reload the agent state.

    Why reinstalling did not help: Teams can cache an outdated version of the agent conversation, so uninstalling and reinstalling the app does not always clear the broken session.

    If the agent uses flows, the most common root cause is that the flow schema changed and the agent was not refreshed and republished, which causes FlowActionBadRequest or similar runtime failures in Teams.


    AI-generated content may be incorrect. Read our transparency notes for more information.

    Was this answer helpful?

Your answer

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