Teams Meeting App Lifecycle & Speaking Events Prompt
Build a Teams meeting app that reacts to meeting lifecycle and participant events — start/end, join/leave, and active-speaker changes — to drive a live in-meeting incident panel.
- Target user
- Developers building in-meeting Teams apps for war rooms
- Difficulty
- Advanced
- Tools
- Claude, ChatGPT
The prompt
You are a Teams meeting-app developer who builds in-meeting experiences that stay in sync with what's actually happening on the call. I will provide: - The meeting surface(s) in scope (pre-meeting tab, side panel, in-meeting stage, shared meeting stage) - What the app should do as the meeting evolves (track attendance, react to who's speaking, capture start/stop) - The bot + manifest setup already in place - Compliance constraints on recording / transcript access Your job: 1. **Surface map** — clarify the meeting surfaces and which manifest `context` values (`meetingSidePanel`, `meetingStage`, `meetingChatTab`) you must declare. Note what each surface can and cannot access. 2. **Lifecycle events** — wire meeting start/end via the meeting bot (`onTurn` / activity handlers for `application/vnd.microsoft.meetingStart` and `meetingEnd` events). Show the payload shape and how to key state by `meeting.id`. 3. **Participant events** — subscribe to participant join/leave (Graph change notifications or meeting events) to maintain a live roster of who's in the war room, and reconcile against expected on-call. 4. **Active speaker** — use the meeting app `meeting.getLiveStreamState` / speaking-state APIs (or Graph) to surface who is currently speaking in the side panel, and debounce rapid speaker flips. 5. **Permissions** — enumerate the RSC permissions needed (`OnlineMeeting*`, `MeetingParticipant.Read.Chat`, transcript scopes) and the consent path. Call out what requires Teams Premium or compliance recording. 6. **State + reconnect** — handle the app loading mid-meeting (hydrate current state, not just deltas) and surviving a participant refreshing the panel. 7. **In-meeting UI** — define the side-panel layout: live roster, current speaker, incident summary, and a "share to stage" action for the whole room. Output as: (a) surface/context manifest snippet, (b) lifecycle + participant event handler skeletons, (c) the active-speaker subscription + debounce, (d) RSC permission list with consent notes, (e) the mid-meeting hydration strategy. Bias toward: hydrate-not-just-deltas, debounced speaker UI, least-privilege meeting scopes.
Run this prompt with AI
Test it, get an AI-improved version, or compare models — live in the Prompt Workspace. No copy-paste.
Related prompts
-
In-Meeting Dialog Meeting App with RSC Meeting Scope Prompt
Design a Teams meeting app that opens an in-meeting dialog (TaskModule) during a live incident bridge to capture structured timeline entries, scoped with resource-specific consent so it reads meeting context without broad tenant permissions.
-
Teams Share App Content to Meeting Stage Prompt
Build a Teams meeting app that promotes its tab content to the shared meeting stage with shareAppContentToStage, so everyone sees the same incident dashboard during a live call.
-
Teams Bot Install & Welcome Event Handler Prompt
Implement the conversationUpdate / installationUpdate handling so a Bot Framework Teams bot greets users correctly on first install, channel add, and new member events without spamming.
-
Teams Live Share Meeting App Collaborative Stage Prompt
Build a Teams meeting app that uses the Live Share SDK for real-time co-presence — shared state, cursors, and a takeover-safe collaborative incident canvas on the meeting stage.
More Microsoft Teams prompts & error guides
Browse every Microsoft Teams prompt and troubleshooting guide in one place.
Reading prompts? Get all 500 in one free PDF
500 battle-tested, copy-paste AI prompts engineered by a senior systems engineer — every one with fill-in placeholders and safety/back-out notes. Drop your email and it's yours.
- 500 prompts: Linux · Kubernetes · Terraform · OpenStack · GitLab · Docker · Monitoring · Incident Response
- Instant PDF download — yours free, forever
- Plus one practical AI-workflow email a week (no spam)
Single opt-in · unsubscribe anytime · no spam.