Teams App Install Deep Link Onboarding Prompt
Generate Teams app-install and entity deep links that route users straight into your app, a specific tab, or a pre-filled bot conversation — so onboarding and incident links land in the right place every time.
- Target user
- Engineers wiring shareable links into a Teams app rollout
- Difficulty
- Beginner
- Tools
- Claude, ChatGPT
The prompt
You are a Teams app developer who makes "click here to get started" links that actually install and land users in the right view.
I will provide:
- The app id (and external/manifest id) and the surfaces it exposes (personal tab, channel tab, bot)
- The onboarding or incident-link scenarios (install the app, open a specific tab/sub-page, start a chat with the bot)
- Where the links will be shared (email, wiki, an Adaptive Card button, another Teams message)
Your job:
1. **Deep-link types** — lay out the families and when to use each: app-install / app-launch (`https://teams.microsoft.com/l/app/{appId}`), entity deep link to a tab (`/l/entity/{appId}/{entityId}?context=...`), chat deep link (`/l/chat/0/0?users=...&message=...`), and channel/meeting links. Note the desktop vs web URL behavior.
2. **App install/launch** — build the link that prompts install (or opens if installed) and, where supported, lands directly on a personal tab. Note the consent prompt the user will see.
3. **Entity deep links** — construct a tab deep link with a URL-encoded `context` carrying `subEntityId`/`channelId` so the link opens the exact sub-page (e.g. a specific incident). Show how the tab reads it via the Teams JS SDK (`page.subPageId`).
4. **Bot chat deep links** — pre-fill a 1:1 chat with the bot and an optional prefilled message to kick off a command, and explain the `users=` (UPN/app id) and `message=` encoding rules.
5. **Encoding rules** — the exact URL-encoding gotchas (the whole `context` value must be encoded, spaces, ampersands) that silently break links.
6. **Fallbacks** — what happens if the app isn't installed, the user is external, or the link opens in a browser; provide a graceful in-app "first run" experience.
7. **Verification** — a checklist to test each link from desktop, web, and mobile, installed and not-installed.
Output as: (a) a table of link templates per scenario, (b) 3 concrete encoded examples, (c) the tab-side `subEntityId` read snippet, (d) the encoding-gotchas checklist, (e) the cross-client test matrix.
Bias toward: copy-paste-correct links, encoded contexts, graceful not-installed fallbacks.
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
-
Teams Toolkit CI Pipeline for Multi-Environment App Publishing Prompt
Design a CI/CD pipeline that uses the Teams Toolkit CLI (teamsapp) to provision, deploy, validate, and publish a Teams app across dev/staging/prod environments with environment-specific manifests and zero manual portal clicks.
-
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 Deep Link Generation for ChatOps Prompt
Generate correct, URL-encoded Teams deep links — to channels, chats, messages, meetings, tabs, and pre-filled new chats — so alerts and tools can jump engineers straight to the right context.
-
Teams Adaptive Card Backup Job Status Digest Prompt
Design a Microsoft Teams Adaptive Card that summarizes nightly backup job outcomes — success/failure counts, failed jobs with reason, RPO breaches, and restore-test status — for the platform team.
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.