Tooluck logoTooluck
SKILL.md

add-teams

Agent skill frommicrosoft/power-platform-skills

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

How to install add-teams

install add-teams
# install the power-platform-skills pack with the skills CLI
npx skills add microsoft/power-platform-skills

# or add only this skill to Claude Code: copy the folder

plugins/code-apps/skills/add-teams/

# into

~/.claude/skills/add-teams/ (all projects)

.claude/skills/add-teams/ (one project)

plugins/code-apps/skills/add-teams/SKILL.md

MITFull file
1**📋 Shared Instructions: [shared-instructions.md](../../shared/shared-instructions.md)** - Cross-cutting concerns.
2
3# Add Teams
4
5## Workflow
6
71. Check Memory Bank → 2. Add Connector → 3. Configure → 4. Build → 5. Update Memory Bank
8
9---
10
11### Step 1: Check Memory Bank
12
13Check for `memory-bank.md` per [shared-instructions.md](../../shared/shared-instructions.md).
14
15### Step 2: Add Connector
16
17Get the connection as described in [connector-reference.md](../../shared/connector-reference.md#connections).
18
19**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:
20
21```bash
22pa app add data-source --connector teams --non-interactive
23```
24
25**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:
26
27```bash
28pa app add data-source --connector teams -c <connection-id>
29```
30
31### Step 3: Configure
32
33Ask the user what Teams operations they need (send message, post to channel, etc.).
34
35**PostMessageToConversation** -- sends a chat message via Flow bot:
36
37```typescript
38await TeamsService.PostMessageToConversation({
39 "Post as": "Flow bot",
40 "Post in": "Chat with Flow bot",
41 "Post message request": {
42 recipient: "<recipient-upn-or-id>", // UPN or Entra object ID
43 messageBody: "<p>HTML message</p>", // HTML format
44…

Excerpt shown under the repository's MIT license.

More skills in power-platform-skills

Newsletter

Join the Community

Subscribe to our newsletter for the latest news and updates