Framework how-tos

How to connect AI agent to Microsoft Teams

A practical guide to connect AI agents to Microsoft Teams with Contro1: reviewers approve risky Actions in Teams, Contro1 runs the approved Action and records it.

Updated Nov 25, 2026

Connect your agent to Microsoft Teams for free with Contro1: create an account, connect the agent you already use, connect Teams, choose which Actions need approval, then approve the first card in Teams. The free plan includes up to 2,500 approval actions per month and 7 days of audit history.

Key takeaways

  • Teams is where the reviewer decides. It is not a log for every agent event.
  • The flow is simple: agent -> Contro1 -> Microsoft Teams -> Contro1 runs the approved Action -> Activity Logs.
  • The agent never holds the application account. Contro1 holds it and runs the Action only after approval.
  • Start with one agent, one Action and one reviewer. Widen the policy after the first loop works.
  • Contro1 lets teams start free with up to 2,500 approval actions per month and 7 days of audit history.

Connect your agent to Teams in a few minutes

If you already use Claude Code, Codex, Cursor, Claude.ai or ChatGPT, you do not need to rebuild anything as a Teams bot to get human approval.

Here is the flow. The agent asks Contro1 to run an Action. If your policy says that Action needs a person, Contro1 sends an approval card to the reviewer in Microsoft Teams. When they approve, Contro1 runs the Action itself and records it.

Create free account

How it works

Think of Microsoft Teams as the place where people decide, and Contro1 as the layer that holds the account and runs the Action. Teams reaches the person who owns the decision. Contro1 handles the grants, the routing, the execution and the record.

StepWhat it doesWhy it matters
Your agentAsks Contro1 to run an Action, such as send an email, update a record or publish a post.You keep the agent you already use.
Contro1 checksChecks the Actions the agent was granted in Access and the approval policy, then picks the reviewer.Control sits outside the model.
Microsoft TeamsShows the reviewer an approval card with the Action, its details and the reason.The reviewer answers where work already happens.
Contro1 runs itRuns the approved Action with the application account it holds.The agent never holds the app credential.
Activity LogsRecords who asked, who approved, what ran and the result.You can show what happened later.

1. Create your free Contro1 account

Create a free Contro1 account. You can start alone, connect one Teams workspace and send real approval requests without paying upfront.

For a clean first test, pick one agent and one Action that should never run silently: sending a customer email, changing a record, deleting a file or publishing content.

  • Use one agent for the first test.
  • Use one Action that changes something.
  • Use one reviewer: the agent's owner.

Open free signup

2. Connect your agent

Connect the agent you already use. Claude Code, Codex and Cursor connect from your computer with the Contro1 CLI: install it once, sign in with the account you created in step 1, and run connect. It asks once for your computer's administrator approval, then prints a link to approve the agent. It also adds the Contro1 MCP server to the tool, so there is no key to paste. For Codex or Cursor, change the last word.

Claude.ai and ChatGPT need no install: paste the Contro1 MCP address as a custom connector and approve the Contro1 sign-in. The app then becomes your agent, and you turn on what it may do in Access.

terminal
curl -fsSL https://contro1.com/install.sh | sh
contro1 auth login
contro1 connect claude-code
PowerShell
irm https://contro1.com/install.ps1 | iex
contro1 auth login
contro1 connect claude-code
MCP server URL
https://api.contro1.com/api/centcom/mcp

Paste it as a custom connector, then approve the Contro1 sign-in.

Every way to connect an agent · Connect Claude Code

3. Connect Microsoft Teams

Open Settings > Notifications and connect Microsoft Teams. This is how Contro1 reaches your reviewers. Each reviewer opens the Contro1 app in Teams and sends it one message, so cards can reach their personal chat.

Send only decisions to Teams. The goal is not to mirror every agent event. The goal is to reach the person who owns the decision.

  • Use Teams for approvals and short comments, not raw telemetry.
  • Route requests to the agent's owner or a named reviewer, not only to a channel.
  • Set escalation and response times in Settings > Approvals, so unanswered requests do not hang.

Microsoft Teams connector docs

4. Choose what needs approval

An admin first allows the application's tools for the organization in Apps. That does not give any agent access yet.

In Access, grant the agent the Action you picked. Grants start empty, so the agent can use only what you grant.

Then open Access > Policy. It decides which risk levels wait for a person. The default is critical only. Widen it to high or medium when you want more Actions to wait.

  • Reads, summaries and drafts can usually run without a wait.
  • Actions that change systems, customers, money, access or public content should wait for a person.

5. Try it

Ask the agent to do the Action you granted. Contro1 sends an approval card to Teams. The reviewer sees the Action, its details and the reason the agent gave.

Approve the card. Contro1 runs the Action with the account it holds and records it in Activity Logs. Your agent does not need a callback endpoint. There is nothing to resume or secure on your side.

  • Approve: Contro1 runs the Action with the approved details.
  • Reject: the Action does not run, and the agent gets the answer.
  • No answer: the escalation and response times in Settings > Approvals decide what happens next.
  • Comment: the reviewer's note is stored with the decision.

Teams SDK, Copilot Studio, and Contro1

Microsoft gives you several valid ways to bring agents into Teams. Those tools solve the Teams connection. Contro1 solves the approval layer: which Actions an agent may use, who approves, who runs the approved Action, and where the record lives.

In practice, Contro1 sits beside any Teams integration path. It gives the organization one place to route and record approval decisions, even when different teams use Copilot Studio, Teams SDK, Graph, OpenAI, LangGraph, Claude, n8n, MCP tools, or custom runtimes.

Teams pathWhat it gives youWhy add Contro1
Copilot StudioFast Microsoft-native agent publishing into Teams and Microsoft 365.Contro1 adds per-agent grants, approval routing, execution after approval, and one record across agents beyond one Microsoft-native flow.
Teams SDK or bot appCode-first Teams experiences with cards, bots, message extensions, and custom app surfaces.Contro1 turns the Teams UI into a governed decision surface with owners, escalation, and one approval record for every risky Action.
Graph or proactive messagesSimple outbound notifications or lightweight approval prompts.Contro1 keeps decisions structured instead of scattered in messages, and records who approved what and what ran.
Bring-your-own agent runtimeOpenAI, LangGraph, Claude, n8n, MCP tools, or internal agent platforms.Contro1 gives every agent the same path: grants, approval, execution and audit evidence.

What every Teams approval shows

Weak approval prompts create approval theater. Contro1 builds each card from the Action and the agent's reason, so the reviewer can make a real decision.

  • Proposed Action: the exact Action and the details it will run with.
  • Business object: customer, ticket, invoice, repository, campaign, document, or record.
  • Reason: what the person asked and why the agent chose this Action.
  • Risk: the Action's risk level, which is why the policy holds it.
  • Reviewer: the agent's owner or the routed reviewer.
  • Audit evidence: who asked, who approved, what ran and the result, in Activity Logs.

Common mistakes to avoid

Most Teams setups fail because they send too much, ask the wrong person, or let the agent act without the gate. Keep the first flow narrow.

Using Teams as an agent log

Send decision points, not every trace event. Reviewers should see the requests that need ownership.

Approving without the business object

A reviewer cannot approve "send email" safely without seeing recipient, content summary, reason, and risk.

Posting to a channel instead of routing to an owner

A channel is not accountability. Route to a named owner or reviewer.

Giving the agent the account

If the agent holds the app credential, it can act without asking. Let Contro1 hold the account and run the Action after approval.

Start free, then expand

The fastest path is not a big migration. Connect one agent, connect Teams, grant one Action and approve one card. Then check the record in Activity Logs. After that, grant more Actions and widen the policy.

Contro1 is free for up to 2,500 approval actions per month, with 7 days of audit history, so a team can validate the Teams approval loop before committing to a larger rollout.

Create free account · Connect an agent · How to connect AI agent to Slack

Agents in your own code

Is your agent in your own code, such as LangGraph, the OpenAI Agents SDK or n8n? An admin creates the agent and an Agent Credential, and the code calls Actions with the Contro1 SDK. The Teams approval and the execution stay the same.

Building your own agent that runs the action itself? Use the Requests API to ask for approval, and verify the decision that arrives on a signed webhook before you act.

Connect an agent in your own code · Requests API

Frequently asked questions

How do I connect an AI agent to Microsoft Teams?

Create a free Contro1 account and connect your agent with `contro1 connect` or the Contro1 MCP address. Connect Microsoft Teams in Settings > Notifications, then grant the agent an Action in Access. When that Action needs approval, the reviewer answers in Teams and Contro1 runs it.

Can I connect an existing OpenAI or LangGraph agent to Teams?

Yes. Keep the agent in its current framework. An admin creates the agent and an Agent Credential, and the code calls Actions through the Contro1 SDK. Approvals still reach the reviewer in Teams.

Is Contro1 free for Microsoft Teams approvals?

You can start free with up to 2,500 approval actions per month and 7 days of audit history. That is enough to connect Teams, approve real Actions, review the record in Activity Logs, and validate a first workflow.

Should Teams be used for every agent event?

No. Teams should be used for human decisions and short operational updates. Logs, traces, and telemetry belong in observability systems or audit records.

What is the difference between Teams approvals and Contro1 approvals?

Teams is where the reviewer answers. Contro1 decides which Actions need a person, routes the request, runs the approved Action with the account it holds, and keeps one audit record across agents.

Related resources

How to connect AI agent to Slack

A simple guide to connect your AI agent to your own Slack workspace with Contro1: approve risky Actions in Slack, and Contro1 runs them.

Approval infrastructure for AI agents

A practical guide to approval infrastructure for AI agents: tool gates, permissions, audit, routing, and HITL that preserve autonomy without adding popups everywhere.

AI Agent Governance Framework for Production Systems

A practical AI agent governance framework for teams deploying agents in production. Turn it into a working AI control plane with granular approval workflows, agent inventory, traces, escalation, and audit-ready controls.

Connect an agent to Contro1

Choose a Contro1 connection path: five agent setup guides for production agents, Claude Code, Codex, Cursor and personal agents, plus web sign-in for Grok, ChatGPT and Claude.ai. Follow exact steps and verify access.