teams-api

Microsoft Teams automation using Graph API, Bot Framework, Adaptive Cards, and webhooks for enterprise messaging and collaboration

5 stars

Best use case

teams-api is best used when you need a repeatable AI agent workflow instead of a one-off prompt.

Microsoft Teams automation using Graph API, Bot Framework, Adaptive Cards, and webhooks for enterprise messaging and collaboration

Teams using teams-api should expect a more consistent output, faster repeated execution, less prompt rewriting.

When to use this skill

  • You want a reusable workflow that can be run more than once with consistent structure.

When not to use this skill

  • You only need a quick one-off answer and do not need a reusable workflow.
  • You cannot install or maintain the underlying files, dependencies, or repository context.

Installation

Claude Code / Cursor / Codex

$curl -o ~/.claude/skills/teams-api/SKILL.md --create-dirs "https://raw.githubusercontent.com/vamseeachanta/workspace-hub/main/.agents/skills/business/communication/teams-api/SKILL.md"

Manual Installation

  1. Download SKILL.md from GitHub
  2. Place it in .claude/skills/teams-api/SKILL.md inside your project
  3. Restart your AI agent — it will auto-discover the skill

How teams-api Compares

Feature / Agentteams-apiStandard Approach
Platform SupportNot specifiedLimited / Varies
Context Awareness High Baseline
Installation ComplexityUnknownN/A

Frequently Asked Questions

What does this skill do?

Microsoft Teams automation using Graph API, Bot Framework, Adaptive Cards, and webhooks for enterprise messaging and collaboration

Where can I find the source code?

You can find the source code on GitHub using the link provided at the top of the page.

SKILL.md Source

# Teams Api

## When to Use This Skill

### USE when:

- Building bots for Microsoft 365 organizations
- Creating enterprise notification systems
- Integrating with Azure DevOps and Microsoft ecosystem
- Building approval workflows in Teams
- Automating meeting scheduling and management
- Creating messaging extensions for Teams apps
- Implementing compliance-aware messaging solutions
- Building internal tools with Adaptive Cards
### DON'T USE when:

- Organization uses Slack primarily (use slack-api)
- Need simple webhooks only (use incoming webhooks directly)
- No Microsoft 365 subscription available
- Building consumer-facing chat applications
- Need real-time gaming or high-frequency updates

## Prerequisites

### Azure App Registration

```bash
# 1. Go to Azure Portal -> Azure Active Directory -> App registrations
# 2. New registration:
#    - Name: "Teams Bot App"
#    - Supported account types: Accounts in this organizational directory
#    - Redirect URI: Web - https://your-app.azurewebsites.net/auth

# Required API Permissions (Microsoft Graph):
# Application permissions:
# - ChannelMessage.Send           - Send channel messages

*See sub-skills for full details.*
### Python Environment Setup

```bash
# Create virtual environment
python -m venv teams-bot-env
source teams-bot-env/bin/activate  # Linux/macOS

# Install dependencies
pip install azure-identity msgraph-sdk botbuilder-core aiohttp

# Create requirements.txt
cat > requirements.txt << 'EOF'

*See sub-skills for full details.*
### Bot Framework Registration

```bash
# 1. Go to https://dev.botframework.com/bots/new
# 2. Or use Azure Portal -> Create a resource -> Bot Channels Registration

# Bot configuration:
# - Messaging endpoint: https://your-app.azurewebsites.net/api/messages
# - Microsoft App ID: from App Registration
# - Enable Teams channel

# For local development with ngrok:
ngrok http 3978
# Update messaging endpoint to ngrok URL
```

## Version History

| Version | Date | Changes |
|---------|------|---------|
| 1.0.0 | 2026-01-17 | Initial release with comprehensive Teams API patterns |

## Resources

- [Microsoft Graph API](https://docs.microsoft.com/graph/)
- [Bot Framework SDK](https://docs.microsoft.com/azure/bot-service/)
- [Adaptive Cards Designer](https://adaptivecards.io/designer/)
- [Teams App Manifest](https://docs.microsoft.com/microsoftteams/platform/resources/schema/manifest-schema)
- [Teams Webhook Connectors](https://docs.microsoft.com/microsoftteams/platform/webhooks-and-connectors/)

---

*This skill provides production-ready patterns for Microsoft Teams automation, enabling enterprise messaging and collaboration workflows.*

## Sub-Skills

- [1. Microsoft Graph API Client](1-microsoft-graph-api-client/SKILL.md)
- [2. Adaptive Cards](2-adaptive-cards/SKILL.md)
- [3. Incoming Webhooks](3-incoming-webhooks/SKILL.md)
- [4. Bot Framework Integration](4-bot-framework-integration/SKILL.md)
- [5. Proactive Messaging](5-proactive-messaging/SKILL.md)
- [6. Meeting Automation](6-meeting-automation/SKILL.md)
- [Azure DevOps Pipeline Integration (+1)](azure-devops-pipeline-integration/SKILL.md)
- [1. Rate Limiting (+2)](1-rate-limiting/SKILL.md)
- [Common Issues](common-issues/SKILL.md)

Related Skills

teams-meeting-pipeline

5
from vamseeachanta/workspace-hub

Operate the Teams meeting summary pipeline via Hermes CLI — summarize meetings, inspect pipeline status, replay jobs, manage Microsoft Graph subscriptions.

agent-teams

5
from vamseeachanta/workspace-hub

Agent team protocols for workspace-hub — when to use teams, decision matrix, team lifecycle, communication patterns, and MAX_TEAMMATES=3 constraint

agent-teams-workspace-work-profile-updated-2026-03-10

5
from vamseeachanta/workspace-hub

Sub-skill of agent-teams: Workspace Work Profile (Updated 2026-03-10).

agent-teams-work-queue-integration

5
from vamseeachanta/workspace-hub

Sub-skill of agent-teams: Work Queue Integration.

agent-teams-subagent-startup-convention

5
from vamseeachanta/workspace-hub

Sub-skill of agent-teams: Subagent startup convention (+2).

agent-teams-idle-state

5
from vamseeachanta/workspace-hub

Sub-skill of agent-teams: Idle State.

agent-teams-dm-default-always-prefer

5
from vamseeachanta/workspace-hub

Sub-skill of agent-teams: DM (default — always prefer) (+2).

agent-teams-decision-matrix-team-vs-sequential

5
from vamseeachanta/workspace-hub

Sub-skill of agent-teams: Decision Matrix: Team vs Sequential.

agent-teams-core-constraint

5
from vamseeachanta/workspace-hub

Sub-skill of agent-teams: Core Constraint.

agent-teams-agent-types-for-common-tasks

5
from vamseeachanta/workspace-hub

Sub-skill of agent-teams: Agent Types for Common Tasks.

agent-teams-activation

5
from vamseeachanta/workspace-hub

Sub-skill of agent-teams: Activation.

agent-teams-1-create-team

5
from vamseeachanta/workspace-hub

Sub-skill of agent-teams: 1. Create team (+5).