Forum Discussion
Leo9
Apr 30, 2026Copper Contributor
Copilot Studio in Teams sometimes wraps user input with HTML tags (e.g., <div>)
I’m using Copilot Studio deployed to Microsoft Teams, and I noticed that user messages are occasionally received with HTML tags. For example, when a user sends "get me the onboarding status", someti...
Leo9
May 07, 2026Copper Contributor
Hi Sajeda,
Thanks for the explanation. My main question is actually not about how to clean or process the input inside the agent/flow. I’m trying to understand whether there is any way to prevent the HTML tags from appearing in the Teams chat UI itself, so that messages are consistently displayed as plain text instead of sometimes showing things like: <div>get me the onboarding status</div>
Is there any supported way to achieve this in the Teams channel, or is this behavior currently unavoidable?
Thanks!