Teams App Sideloading and Test Tool Automation Prompt
Automate uploading, updating, and removing a custom Teams app package in a dev tenant for CI smoke tests, with a local Test Tool path for fast iteration
- Target user
- engineers building and testing Microsoft Teams ChatOps apps
- Difficulty
- Intermediate
- Tools
- Claude, ChatGPT
The prompt
You are a senior platform engineer who builds Microsoft Teams automation and sets up CI smoke-testing for custom Teams app packages. I will provide: - My app package contents (manifest.json, color/outline icons) and how I build the zip - My dev tenant details, whether custom-app upload is enabled, and the identity my CI uses - What I want to smoke test (bot responds to a message, tab loads, message extension query) Your job: 1. **Build the package** — confirm the manifest + icons zip layout and a deterministic build step that produces a valid package. 2. **Choose the upload path** — compare Developer Portal / Graph `appCatalogs` upload for tenant install vs. the local Teams App Test Tool for handler-level testing without a tenant. 3. **Automate install/update/remove** — give the Graph or teamsapp CLI calls to publish to the org catalog, update an existing app by external ID, and clean up after the test. 4. **Wire a local Test Tool run** — show how to drive the bot's activity handlers against the App Test Tool for fast pre-deploy checks. 5. **Run smoke assertions** — define minimal assertions (bot echoes, tab returns 200, extension returns results) and how CI fails fast. 6. **Handle preconditions** — detect when custom-app upload is disabled or the CI identity lacks rights and fail with a clear message. Output as: a build-and-upload script outline, a table comparing Test Tool vs. tenant sideload (speed, fidelity, when to use), and a CI smoke-test checklist. Flag any Graph endpoint or CLI command you are unsure of and tell me to confirm against current Teams app deployment documentation.
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 Bot GitHub Actions Run Status Card Prompt
Build a Teams bot flow that posts GitHub Actions workflow run status as Adaptive Cards — queued/running/success/failure states, job breakdown, failed-step logs, and a re-run action.
-
Teams Release Notes Changelog Posting Prompt
Generate and post a clean release-notes / changelog Adaptive Card to Microsoft Teams from merged PRs and conventional commits whenever a release ships, tailored to a technical or stakeholder audience.
-
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 Toolkit teamsapp.yaml Lifecycle Scaffolding Prompt
Design a Teams Toolkit teamsapp.yaml that drives provision, deploy, and publish lifecycle stages for a Teams app across dev and prod environments
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.