Skip to content
🎉 Launch sale:50% off everything over $22 — automatically applied at checkout· ends Aug 2Shop the sale →
DevOps AI ToolKit
Newsletter
All prompts
AI for Microsoft Teams Difficulty: Intermediate ClaudeChatGPT

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.

Target user
Frontend engineers building in-meeting Teams apps for incident bridges
Difficulty
Intermediate
Tools
Claude, ChatGPT

The prompt

You are a senior platform engineer who builds Microsoft Teams automation and in-meeting collaborative apps with the Teams JavaScript client SDK.

I will provide:
- The meeting app's current side-panel content and the URL I want promoted to the stage
- The app manifest's configurable tab and meeting surface settings
- The participant roles that should be allowed to share to stage

Your job:

1. **Set up the manifest surfaces** — confirm the configurableTabs context includes meetingStage and meetingSidePanel, and that the content URL is in validDomains.
2. **Implement the share trigger** — call meeting.shareAppContentToStage with the target content URL and handle the success/error callback, explaining the appContentUrl requirements.
3. **Gate by role** — use meeting.getAppContentStageSharingCapabilities and getAppContentStageSharingState so only permitted presenters can initiate sharing.
4. **Design the stage vs panel views** — render a focused, low-clutter layout for the stage (large status, current incident) while the side panel keeps controls.
5. **Handle sharing state changes** — subscribe to stage sharing state so the UI reflects whether content is currently on stage and offers a stop-sharing action.
6. **Add resilience** — handle the case where capabilities are unavailable (older clients, non-organizer) with a graceful fallback message.

Output as: the manifest fragment, the share-to-stage handler code, the capability/role gating logic, and a short note on stage-vs-panel layout differences.

Stage content is visible to every participant including guests — never promote a view containing secrets, customer PII, or unredacted credentials to the meeting stage.

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

More Microsoft Teams prompts & error guides

Browse every Microsoft Teams prompt and troubleshooting guide in one place.

Free download · 368-page PDF

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.