Skip to content
alyn
Microsoft Official

Add Teams skill

Adds Microsoft Teams connector to a Power Apps code app. Use when sending Teams messages, posting to channels, or integrating with Teams chat.

$npx skills add microsoft/power-platform-skills --skill add-teams
View this skill on GitHubmicrosoft/power-platform-skills/plugins/code-apps/skills/add-teams/SKILL.md
Pack stars
1,132
Pack installs
19k
Alyn Score
57/99
Updated
2 h ago
License
MIT
– views – installs via Alyn

Microsoft

Add Teams

Install Add Teams

Pick your agent. Every command is ready to paste.

$npx skills add microsoft/power-platform-skills --skill add-teams

The open skills CLI detects your agents (Claude Code, Cursor, Codex and 70+ more) and installs to the right folder. Add -g to install globally.

01

Install it

Run the command above, or upload the folder in Claude.

02

Ask naturally

Describe the task. Your agent loads add-teams when the request matches its description.

03

Name it if needed

If it does not trigger, say “use the add-teams skill”. In Codex, type $add-teams.

The skill itself

SKILL.md

FolderGitHub

📋 Shared Instructions: shared-instructions.md - Cross-cutting concerns.

Add Teams

Workflow

  1. Check Memory Bank → 2. Add Connector → 3. Configure → 4. Build → 5. Update Memory Bank

Step 1: Check Memory Bank

Check for memory-bank.md per shared-instructions.md.

Step 2: Add Connector

Get the connection as described in connector-reference.md.

CLI 1.3.0+ (PA_INLINE_CONNECTIONS=yes): tell the user that adding Teams may create a connection with their account, then run the add without -c and handle the result with the outcome table in connector-reference.md:

pa app add data-source --connector teams --non-interactive

Older CLIs: run /list-connections to find the Teams connection ID (if none exists, create one with pa connection create as described in connector-reference.md), then:

pa app add data-source --connector teams -c <connection-id>

Step 3: Configure

Ask the user what Teams operations they need (send message, post to channel, etc.).

PostMessageToConversation -- sends a chat message via Flow bot:

await TeamsService.PostMessageToConversation({
  "Post as": "Flow bot",
  "Post in": "Chat with Flow bot",
  "Post message request": {
    recipient: "<recipient-upn-or-id>", // UPN or Entra object ID
    messageBody: "<p>HTML message</p>", // HTML format
    isAlert: false,
    feedbackLoopEnabled: false
  }
});

Use Grep to find specific methods in src/generated/services/TeamsService.ts (generated files can be very large -- see connector-reference.md).

Step 4: Build

npm run build

Fix TypeScript errors before proceeding. Do NOT deploy yet.

Step 5: Update Memory Bank

Update memory-bank.md with: connector added, configured operations, build status.

Tips for Add Teams

  • • Start a fresh session after installing so your agent picks up the new skill.
  • • It is part of a pack with 24 skills. Install only the ones you need with --skill to keep triggers precise.
  • • If two skills overlap, mention the one you want by name.

Questions about Add Teams

What does the Add Teams skill do?

Adds Microsoft Teams connector to a Power Apps code app. Use when sending Teams messages, posting to channels, or integrating with Teams chat.

How do I install Add Teams?

Run "npx skills add microsoft/power-platform-skills --skill add-teams" in your project. The skills CLI installs it for Claude Code, Cursor, Codex and 70+ other agents. In Claude on the web, upload the skill folder as a ZIP under Customize > Skills.

Does Add Teams work in Cursor and Codex?

Yes. Add Teams uses the open SKILL.md format, so it works in Claude Code, Claude, Cursor, OpenAI Codex, Gemini CLI, GitHub Copilot and other agents that support agent skills.

Is Add Teams free?

Add Teams is open source on GitHub under the MIT license. It is free to install; check the license before commercial use.

Who made Add Teams?

Add Teams is published by Microsoft in the microsoft/power-platform-skills repository, together with 23 other skills.

Similar skills. From other creators.