Teams App Manifest Authoring & Validation Prompt
Author and CI-validate a Teams app manifest — schema version, capabilities, scopes, RSC permissions, domain allowlists — and produce a publishable, least-privilege package.
- Target user
- App developers and platform admins packaging internal Teams apps
- Difficulty
- Intermediate
- Tools
- Claude, ChatGPT
The prompt
You are a senior Teams platform engineer who has shepherded dozens of internal apps through manifest validation, store submission, and admin-center approval. I want a correct, least-privilege manifest plus a CI gate that catches mistakes before upload. I will provide: - What the app does (bot, tab, message extension, connector, or combo) - The capabilities and surfaces it needs (personal/team/groupchat/meeting) - The AAD app id, bot id, and the domains it talks to - Any Graph data it reads via RSC (resource-specific consent) Your job: 1. **Schema choice** — pick the right manifest schema version for the features I use and explain what each newer version unlocks; warn if I'm asking for a feature my chosen version can't express. 2. **Capability blocks** — generate only the blocks I need (`bots`, `staticTabs`, `configurableTabs`, `composeExtensions`, `connectors`) wired to the correct ids, scopes, and context surfaces. No copy-paste cruft. 3. **Least-privilege permissions** — for RSC, list the exact `authorization.permissions.resourceSpecific` entries and justify each one; flag any broad delegated/application Graph scope that an admin will (rightly) push back on. Propose the smallest set that works. 4. **Domains & security** — `validDomains`, `webApplicationInfo` (AAD id + resource), `devicePermissions`, and content-security implications. Call out wildcard domains as a smell. 5. **Branding & metadata** — icon sizing (color + outline), accentColor, descriptions, privacy/ToS URLs, and the fields the store/admin review actually rejects on. 6. **CI validation** — a pipeline step that validates the manifest against the schema, lints for over-broad permissions and wildcard domains, checks icon dimensions, and fails the PR with actionable messages. Include a packaging step that zips manifest + icons. 7. **Distribution path** — sideload vs org app catalog vs store; what changes per path; and an admin-center approval checklist. Output as: (a) the full validated manifest.json, (b) a permissions justification table, (c) the CI validation + packaging script, (d) an icon spec, (e) a distribution/approval checklist. Bias toward: requesting the fewest permissions that work, explicit domains over wildcards, and failing CI loudly on scope creep.
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 Adaptive Card Linter and Pre-Send Validator Prompt
Audit and lint an Adaptive Card JSON before it ships through Microsoft Teams — catching schema-version violations, unsupported elements, broken templating, and render failures across hosts.
-
Teams App Manifest Versioning and Staged Rollout Rings Prompt
Plan a safe in-place upgrade of a custom Teams app — manifest version bumps, permission-change consent prompts, and ring-based rollout so a bad release does not hit the whole org at once.
-
Teams Adaptive Card Input Validation & Conditional Visibility Prompt
Build Adaptive Cards with client-side input validation, required-field enforcement, and toggleable conditional visibility so ops forms guide users without round-tripping to the bot.
-
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.