r/copilotstudio • • 6d ago

Copilot Studio agent behaving differently in Teams vs M365 Copilot Chat. Anyone else?

I've been noticing some inconsistent behavior with a Copilot Studio agent depending on where it's being used.

In the Studio test pane and M365 Copilot Chat, everything works as expected. But when the same agent is used in MS Teams, it occasionally returns raw JSON responses or adds an unexpected follow-up summary after displaying the data in a card.

The underlying logic is the same, so I'm curious whether this is related to how Teams handles agent responses or renders cards.

Has anyone run into something similar? Would love to know if there's a known limitation or something worth checking in the configuration.

6 Upvotes

9 comments sorted by

2

u/fdubsc 6d ago

Had this issue before where the responses were not consistent. If you go to the teams admin center -> apps -> your app. You can upload the zip file from copilot studio and it matches the deployed app version from Copilot Chat. The teams extension has not published well at all with the rollout. If you download the zip file then upload the solution to patch the app in teams, should work better.

2

u/Only-Musician-4400 6d ago

hey thanks for the response, will definitely check this

1

u/Ashlesha-msft 6d ago

Hi u/Only-Musician-4400 A few things worth checking:

  • Published version: Republish the agent, then type start over in Teams to test the latest content.
  • Teams app package: As suggested above, have your admin verify that the installed app matches the intended agent and update it using the latest ZIP from Copilot Studio if needed. This is worth checking, but isn’t a guaranteed fix for the JSON/summary behavior.
  • Generative orchestration: If the card renders correctly but an extra response follows, the orchestrator may not know the topic already answered. Microsoft recommends returning an answered Boolean topic output and adding instructions not to repeat the response when it’s true. Guidance.
  • Card compatibility: Ensure the card uses a Teams-supported schema—1.5 or earlier—and is sent as an Adaptive Card, not plain-text JSON

1

u/Only-Musician-4400 6d ago

thanks for the response, will definitely try out these and see if it helps, will be updating here if it's fixed

3

u/Copilot_Studio_loft 6d ago

Teams integrations are not as good as they are with the M365 chat. We avoid teams entirely because of this

2

u/SpraySolid6706 6d ago

Hello everyone, i am also having the same issue.

2

u/interestedinCoPilot 6d ago

Teams has been buggy for months - I know that's not much help, but know you're now alone.

1

u/CommercialComputer15 6d ago

Legacy stack. Typical MSFT shenanigans

1

u/NovaPrime94 5d ago

Avoid teams at all costs. Just use it m365 copilot