Announcements
I've built a Copilot Studio agent deployed to both Microsoft Teams (DM) and the Copilot app. The default citation format renders beautifully in the Copilot app but shows as raw [turn1doc12] style tags in Teams DM, which is a bad experience for users.
[turn1doc12]
I want to detect which channel the user is on and conditionally apply different formatting instructions. I tried resolving ${Activity.ChannelId} in the behavior prompt but Cliff confirmed it comes through as a literal string, not a resolved value.
${Activity.ChannelId}
My setup: GPT-5.5 Chat, SharePoint/OneDrive/Teams/Mail MCP tools connected.
Questions:
Activity.ChannelId
Your file is currently under scan for potential threats. Please wait while we review it for any viruses or malicious content.
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.
Jump in, show your community spirit, and win prizes!
Expanding mentorship, skilling, and AI innovation
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Valantis 277
11manish 206
sannavajjala87 156 Super User 2026 Season 1