BRK209 · Breakout
Beyond the Agent: Building Digital Teammates in Microsoft Teams
Speakers: Natalie Pienkowska, Umang Sehgal
Microsoft’s player cannot open a video at a given time: once it plays, skip to the time shown.
What the session covers
Teams platform product managers Natalie Pienkowska and Umang Sehgal present the pro-code 'how' follow-up to BRK208, structured around three pillars for agent teammates in Teams: design, identity and context. The design part covers social signals, plan mode, targeted messages (now GA) and newly announced HTML widgets and canvases. The identity part contrasts on-behalf-of agents with agentic users that have their own Entra identity, plus Teams integration with Agent 365. The context part explains Work IQ as a single retrieval call with governance and trust controls (sanitization in public preview, signed provenance coming soon). A live build runs through the session: GitHub Copilot builds the Zava Helper agent with the Teams SDK and Teams CLI, shown at the end together with socket mode in public preview.
Best for: Pro-code developers and architects building custom agents for Teams who want to know the Teams SDK capabilities, identity models and Work IQ integration.
New material starts at 02:24. After the introduction positioning the session as the follow-up to BRK208, the live GitHub Copilot build of the Zava Helper Teams agent starts at 02:24.
Where to skip: Watch 02:24–04:16 for the build prompt, then 05:50–12:07 for plan mode, targeted messages and HTML widgets; 14:53–19:01 covers the identity models and Agent 365, 25:15–29:23 Work IQ governance and its demo, and 30:55–35:33 socket mode and the finished agent. The GitHub Copilot bug-fix video (12:07), the failed Autopilot demo (19:01) and the context framing (21:50) add little.
Chapters (14)
- 00:00 Recap Depth 100 · Novelty 1/3
Introduction: Teams as the place where agents become teammates
Teams platform product managers Natalie and Umang introduce the session as the 'how' follow-up to breakout BRK208. They describe agents as teammates in chats, channels and meetings, with Microsoft 365 context and external tool context, inside the organisation's existing identity, permissions and compliance. Partner agents such as Cursor, Factory, PagerDuty and Datadog can be @mentioned in Teams once an admin approves them. Two build paths are named: low-code with Copilot Studio and code-first with the Teams SDK and Teams CLI; the session focuses on pro-code.
- 02:24 Demo Depth 300 · Novelty 2/3
Live build kickoff: GitHub Copilot creates the Zava Helper Teams agent
Ricky hands a detailed prompt to GitHub Copilot to build a Teams agent end to end while the session runs. Requirements: read and send channel messages, summarise threads, generate an adaptive card for action items, and send a targeted message to whoever interacts with the card. The agent uses socket mode as its connection method, LLM keys are supplied via a text file in the project folder, and the agent is named Zava Helper. The goal is a ready install link for Teams with no manual intervention.
- 04:16 Recap Depth 100 · Novelty 1/3
Three pillars of an effective agent teammate: design, identity, context
Umang outlines three pillars for agent teammates. Design means building in social etiquette: when to reply in a thread, when to speak or stay quiet, when to react with an emoji. Identity, security and access means acting with the right permissions, consent and admin-set policies. Context, described as the differentiator, means access to files, meeting transcripts and channels to respond effectively.
- 05:50 New Depth 200 · Novelty 2/3
Design act: social signals, plan mode, citations and targeted messages
Natalie explains that the Teams SDK has social signals built in: @mentioning the agent, threaded replies and emoji reactions to acknowledge work. Umang announces plan mode, which streams the agent's thinking, work in progress and completed actions, alongside citations and sensitivity labels. Actions come as custom feedback, suggested actions and targeted messages; targeted messages, announced at Build, are now GA and enable private human-in-the-loop review before posting to a group chat or channel.
- 08:35 New Depth 200 · Novelty 3/3
Agent message formats: Markdown, adaptive cards, new HTML widgets and canvases
Natalie presents the Teams message format spectrum: plain text, Markdown, adaptive cards and the newly announced HTML widgets, which let agents generate custom interactive UI. A demo shows a launch readiness review where the agent generates a supply-risk map, a live filterable table and a what-if toggle for moving stock from Seattle to Munich, then drafts a launch plan as a targeted message. Canvases open widgets on a larger stage for collaboration, for example on a Figma design.
- 12:07 Demo Depth 200 · Novelty 1/3
GitHub Copilot agent in Teams: root-causing and fixing a bug in a channel thread
Natalie shows the GitHub Copilot agent, released a few months earlier, as an example of a teammate agent. In a video, team members discuss a bug in a channel; one @mentions GitHub to find the root cause, and GitHub Copilot reads the thread, works in a repository connected to the channel and finds a column type change in a migration. It then makes the fix, runs tests and opens a pull request with a screenshot, all in the thread. A design recap follows: reply in context, acknowledge, follow up proactively without noise, and show rather than tell.
- 14:53 Deep dive Depth 300 · Novelty 2/3
Identity act: on-behalf-of agents vs agentic users with Entra identity and Agent 365
Umang argues agents need the same constructs as employees: visible identity, access decisions, the same policies, auditing and a kill switch. Two models are described: on-behalf-of agents using the user's token (example: Copilot Cowork) and agentic users with their own Microsoft Entra identity, UPN, mailbox, calendar, profile card, org chart position and files. Agentic users combine human reach across Microsoft 365 apps with bot capabilities such as streaming, adaptive cards and chain of thought. Teams now integrates with Agent 365 to answer how many agents exist, who owns them and what they do, and to apply custom policies.
- 19:01 Demo Depth 200 · Novelty 1/3
Demo: Finance Auditor agentic user created via Autopilot (video failed) and identity recap
A recorded demo starts: IT admin turns on Autopilot for the Caldova tenant in the Microsoft 365 admin center and chooses who can create one; a user creates a Finance Auditor in Copilot in about a minute; the identity admin finds it in Microsoft Entra as an agent user with no password. The video then fails and Umang describes the rest verbally: agent users appear in people pickers, in Word, PowerPoint and Excel, can be @mentioned and emailed, and can be added to or removed from security groups. Natalie recaps: choose the identity model, apply policies as for humans, and observe, monitor and audit agents.
- 21:50 Deep dive Depth 200 · Novelty 1/3
Context act: snapshot-based AI vs continuous work context and the Work IQ layers
Natalie compares agent context to preparing for a meeting: channel history, latest doc version, past decisions and related Jira tickets, limited by your access. Agents get context from conversations, Microsoft 365 content and third-party tools via APIs, connectors and MCP servers. Umang explains that most AI sees point-in-time snapshots, illustrated by a five-day Caldova Q3 audit spread across chat, channel, meeting and file before the agent is asked where the three Q3 flags stand. Work IQ is introduced as the intelligence layer with data, context (work patterns and memory) and skills and tools.
- 25:15 Deep dive Depth 300 · Novelty 2/3
Why Work IQ: one call instead of custom orchestration, plus governance and trust controls
Umang contrasts hand-stitched tool calls for chat history, channel messages, meeting transcripts and files, plus custom orchestration, indexing and caching, with a single Work IQ call that returns what matters from all sources the agent can access. Natalie explains governance: Work IQ respects existing access, tenant policies set the ceiling and agent policies can narrow access further. Work IQ trust controls protect grounding content: sanitization (public preview) filters hidden instructions and signed provenance (coming soon) makes content origin and tampering verifiable.
- 27:07 Demo Depth 200 · Novelty 2/3
Demo: Finance Auditor agent with Work IQ catching up the team and acting proactively
A recorded demo shows the Finance Auditor agent in a Q3 audit chat, a week after flagging three vendor payments. Asked to catch the team up, it uses Work IQ to gather updates across chats, channels and meetings and returns one card with the status, owner and source link for each flag, plus new expense-testing exceptions. It follows the chat without @mentions, stays quiet on news, and when work is implied drafts the committee deck update; after approval it fills in slide four. Under the hood this is one scoped Work IQ retrieve plus a targeted follow-up, enabled with a few lines of code.
- 29:23 Closing Depth 100 · Novelty 1/3
Session recap: design, identity and context for agent teammates
Natalie recaps the three acts: design with social signals, HTML widgets and plan mode; trust through on-behalf-of or agentic user identity, which is now connected on the Teams SDK side so agents show up as colleagues and are governed like employees; and usefulness through Work IQ enabled with a couple of lines of code. Ricky is then called back to show the agent built during the session.
- 30:55 Demo Depth 300 · Novelty 2/3
Socket mode announced; live result: Zava Helper agent summarising and tracking actions
Ricky announces preview availability of socket mode, which connects an agent to Teams services over an outbound connection without exposing a public HTTPS endpoint; with the Teams SDK and Teams CLI the socket is managed for you. He reviews the GitHub Copilot run: it used the Teams SDK and Teams CLI to bootstrap and register the bot and app, wrote about 500 lines of code, and needed one extra prompt for a plain-text link plus one organisation sign-in. In Teams web he installs Zava Helper into a test team, @mentions it to summarise a thread, asks for an action-item adaptive card, and marking an item done triggers a targeted message visible only to him.
- 35:33 Closing Depth 100 · Novelty 0/3
Closing: teams.dev, follow-up lab and the Beyond the Agent series
The speakers point to teams.dev as the new launch page for Teams SDK, CLI and Skills docs. A lab right after the session (Lab 651 on the slide) teaches building the Zava agent step by step without AI help, and attendees can take the source code home. More labs are listed at aka.ms/BeyondTheAgentSeries, with dates December 9–11 on the slide.
Announcements (8)
-
Plan mode
Lets a Teams agent send interactive updates on what it is thinking, working on and has completed.
Speaker’s quote (at 06:41)
„We're so glad to announce plan mode, which allows the agent to send you interactively informative updates about what it's thinking“
-
Targeted messages
Lets an agent send private messages to a specific user in a group chat or channel, e.g. for human-in-the-loop approvals.
Speaker’s quote (at 08:01)
„And lastly, at Build this year, we announced targeted messages, which have now gone GA.“
-
HTML widgets in Teams
Lets agents generate custom, interactive UI such as charts, maps and live tables directly in Teams conversations.
Speaker’s quote (at 08:35)
„drum roll please, for HTML widgets. We're really excited to announce this today here at Ignite.“
-
Teams integration with Agent 365
Lets admins see how many agentic user instances exist, which are active and in which channels, and govern them with custom policies.
Speaker’s quote (at 18:23)
„Teams now integrates very well with Agent 365, where you can dive deep into this data and understand how many instances of an Agent user were created“
-
Work IQ sanitization
Filters hidden instructions from grounding content used by agents through Work IQ.
Speaker’s quote (at 26:39)
„So sanitization, which is in public preview, helps filter hidden instructions“
-
Work IQ signed provenance
Makes the origin of grounding content and any tampering verifiable.
Speaker’s quote (at 26:39)
„and signed provenance, which is coming soon, makes content origin and tampering verifiable.“
-
Agentic users support in Teams SDK
Connects agentic users to the Teams SDK so agents appear as colleagues and are governed like employees.
Speaker’s quote (at 29:59)
„either on behalf of a user or agentic users, which we're now connected to on the Teams SDK side“
-
Socket mode for Teams agents
Lets agents receive Teams activities over a secure outbound connection instead of exposing a public HTTPS endpoint.
Speaker’s quote (at 30:55)
„Yes, we are excited to announce preview availability for socket mode. Socket mode allows you to connect your agent to team services without having to expose a public HTTPS endpoint.“
Demos (6)
-
A pro developer lets GitHub Copilot build, provision and package a Teams channel agent (Zava Helper) end to end while doing other work.
Steps (6)
- Open a GitHub Copilot chat session in Visual Studio Code.
- Write a prompt listing the agent capabilities: read/send channel messages, summarise threads, generate an action-item adaptive card with a mark-as-done button, send a targeted message to the user who marks an item done.
- Specify socket mode as the primary connection method.
- Point GitHub Copilot to a text file with LLM keys and ask for all agent files to be placed in that same folder.
- Name the agent Zava Helper and ask for an install link for Teams when it is ready, with no intervention needed.
- Start the run and let GitHub Copilot work in the background.
Prerequisites: GitHub Copilot in Visual Studio Code, Teams SDK and Teams CLI, LLM keys in a text file, access to a Microsoft 365 tenant for sign-in.
-
A product team a few weeks before launch uses an agent with HTML widgets to review supply readiness and plan mitigation without leaving Teams.
Steps (5)
- Ask the agent for a launch readiness review.
- Review the generated map showing Munich as the critical supply risk.
- Open the generated live table and filter it to Europe to see the critical risk percentage.
- Toggle a scenario moving stock from Seattle to Munich to see the reduced risk.
- Ask the agent to put together a launch plan as a targeted message to review and edit before sharing with the team.
Prerequisites: An agent built to return HTML widgets; nothing else is stated.
-
A dev team diagnoses and fixes a customer bug from a Teams channel thread without leaving Teams.
Steps (5)
- Post a screenshot of the bug in a Teams channel and discuss it in the thread.
- @mention GitHub in the thread and ask for the root cause without repeating context.
- GitHub Copilot reads the thread, works in the repository connected to the channel and reports the cause (a column type change in a migration).
- A team member with repository access asks GitHub Copilot to make the fix.
- GitHub Copilot makes the change, runs tests, checks the screen and opens a pull request with a screenshot in the thread.
Prerequisites: A GitHub repository connected to the Teams channel; the user requesting the fix has access to the repository.
-
An IT admin enables Autopilot so employees can create a Finance Auditor agentic user with its own Entra identity, governed like an employee.
Steps (4)
- In the Microsoft 365 admin center, turn on Autopilot for the tenant and choose who can create one (here: everyone).
- In Copilot, create an Autopilot, pick a look and name it Finance Auditor; setup takes about a minute.
- In Microsoft Entra, the identity admin finds it as an agent user (a directory account without a password).
- Add or remove the agent user from security groups so it gets the same access as other finance staff.
Prerequisites: Microsoft 365 admin center access to enable Autopilot; identity admin access to Microsoft Entra.
-
A finance team uses a Work IQ-enabled auditor agent in Teams to get a sourced status of Q3 audit flags and to update a committee deck proactively.
Steps (5)
- In the Q3 audit chat, ask the auditor agent to catch the team up.
- The agent gathers updates via Work IQ across chats, channels and meetings and returns one card with each flag's status, owner and source links.
- A team member posts an update without mentioning the agent; the agent notes it and stays quiet.
- A team member implies work without mentioning the agent; the agent drafts the update in the committee deck format, including the latest news.
- Approve the draft; the agent fills in slide four of the deck.
Prerequisites: A Teams agent with Work IQ enabled (a few lines of code); access to the relevant chats, channels, meetings and files.
-
A developer installs and tests the GitHub Copilot-built Zava Helper agent in a Teams channel with real data.
Steps (7)
- Review the GitHub Copilot session: it used the Teams SDK and Teams CLI to bootstrap the agent, register the bot and app, and connect local resources.
- Ask GitHub Copilot for the install link in plain text and sign in to the organisation when prompted.
- Copy the link, open Teams on the web and open the Zava Helper app.
- Add the app to a test team (Ignite demo team) with real data.
- @mention Zava Helper in a thread and ask it to summarise the thread.
- @mention Zava Helper and ask it to make an adaptive card to track action items.
- Mark an action item as done on the card and check the private targeted confirmation message.
Prerequisites: GitHub Copilot, Teams SDK and Teams CLI, LLM keys, sign-in to a Microsoft 365 organisation, a Teams team to install the app into.