Teams MCP security

What the official Microsoft Teams MCP server can read and change in chats and channels, which of its tools carry the most risk, and how tenant policy, retention and per-tool controls limit it.

On this page

Can the Teams MCP server be locked down enough for security review?

A security reviewer has to decide whether AI agents may use the Teams MCP server, and the honest starting point is that the official server is a preview feature in Microsoft Agent 365 and Copilot Studio. Its 25 tools can read and post chat and channel content, and control depends on tenant policy, Entra permissions, per-tool blocking and retention settings, with the preview status itself counted as a gap. This section sets out whether those controls are enough for a review, while the surrounding sections cover what each tool does and which tools carry the most risk.

This page covers the tool-level picture: which reads and writes the server exposes, what Microsoft says happens when a caller lacks permission, and how blocking one tool differs from blocking the whole server. The sibling page on enterprise setup handles how admins approve, consent to, block and monitor the server and how custom servers authenticate with OAuth. Use that page for the approval workflow and this one to decide which tools the approved server should be allowed to run at all.

Before approving, ask Microsoft or your account team to confirm in writing which Teams tools are supported for production use, since Microsoft says preview tool names and parameters might change and preview features are not meant for production. Confirm also whether your tenant's retention policies and compliance settings produce the outcomes you need, because the Teams reference notes that compliance settings might hide some content from list results. A reviewer who cannot get those answers should record the preview status as an accepted risk or restrict the server to a pilot group.

Which Teams MCP security controls are built in, paid or outside components

This table compares security controls for the Teams server, Work IQ MCP and the legacy Microsoft 365 MCP tools. Each control is marked as built in, admin-configured, outside component or not documented, so reviewers can see which settings an administrator must switch on and where Microsoft has not published the behavior. Confirm edition and licensing in the Microsoft 365 admin center for every option, and treat the Teams server as the option with the fewest documented policy switches.

ControlTeams MCP serverWork IQ MCPLegacy Microsoft 365 MCP tools
Per-tool blockingAdmin-configured: admins can control each tool, and blocking the server disables all its tools.Admin-configured: the same admin center controls apply to individual tools. Confirm for this server.Not documented. Confirm in the admin center before any use.
Mutation (write) policyNot documented: post, reply, add member, create private channel and delete operations are exposed as tools.Admin-configured: create, update, delete and send are blocked by default until tenant policy enables them.Not documented. Microsoft says these tools are for backward compatibility only.
Entra and OAuth permission checksBuilt in: calls return 403 without the required permissions, and the scope is McpServers.Teams.All.Built in: policy does not replace Entra or OAuth, and each request is checked against the user's Microsoft 365 permissions.Not documented. Confirm with Microsoft before connecting any agent.
Retention and compliance hidingAdmin-configured: tenant retention policies govern deleteChat, and compliance settings may hide content from list results.Not documented in the Work IQ policy guidance. Confirm with Microsoft.Not documented. Confirm retention behavior in the tenant.
Preview statusPreview: not meant for production, and Microsoft may change tool names and parameters.Not labeled as preview in the policy guidance. Confirm current status.Backward compatibility only. Microsoft says not to use these in production or new projects.
Edition and licensingConfirm in the Microsoft 365 admin center. Availability varies by tenant, region, rollout, licensing and approval.Confirm in the Microsoft 365 admin center. Availability varies by tenant and licensing.Confirm in the admin center. Availability varies by tenant and rollout status.

What the Teams MCP server can read and change in chats and channels

The official Teams MCP server exposes 25 fixed tools: 12 chat tools and 13 team and channel tools, covering create, update, delete, list and post operations. Each tool is named for one operation, so a reviewer can read the tool list and see exactly what an agent may do. The write operations are the part to scrutinize first. They include posting plain-text messages to chats and channels, replying in channel threads, adding chat and channel members, and creating private channels. Adding members and creating private channels change who can see conversations, so they deserve a separate approval decision from simple message posting.

This fixed design differs from Work IQ MCP, which exposes a single endpoint with 10 generic tools that discover resource paths and schemas at runtime. With the Teams server, the reviewer can map each capability to a named tool and decide per tool whether it belongs in the agent's scope. The trade-off is that preview tool names and parameters may change, according to the Teams reference page, which also states that preview features are not meant for production use. Before approving any write tool, confirm with Microsoft which tools are still in preview in your tenant, and re-check the tool list after any Microsoft update, since a renamed tool can slip past an allowlist written against the old name.

Ask the team building the agent which of the 25 tools it actually calls, then limit the approved set to those tools. Read-only listing tools and write tools should be reviewed as separate groups, and any tool that adds members or creates private channels should require a named owner's sign-off. Also confirm with your Microsoft 365 administrator that the tools you approve are the ones visible in the Tools registry for your tenant, because availability can vary by tenant, region, licensing and administrator approval. Treat the registry, not the documentation, as the record of what is live.

Which Teams MCP tools carry the most risk

The official Teams MCP server exposes 25 tools that read and write chats and channels under a signed-in user's identity. The risk sits in a few groups: changes that widen who can see content, actions that post or delete as the user, incomplete reads, and a preview surface that Microsoft may change. Each group needs an explicit decision before any agent receives it.

Member changes that widen access

Adding chat and channel members changes who can read content that was previously restricted, and the agent can do this without a person reviewing each addition. A channel that began as a small working group can end up shared with a broader audience in one tool call. Confirm which roles may add members, whether guest or external accounts can be added, and whether the agent must work only in chats and channels the user already governs.

Teams reference

Private channel creation

Creating private channels produces new containers for sensitive discussion that may fall outside the review of existing teams and their owners. The agent can create them in bulk or on a prompt that does not describe the intended audience. Confirm who may create private channels through an agent, that naming and ownership rules apply, and that the resulting channels appear in retention and compliance reviews.

Posting as the signed-in user

Plain-text posts to chats and channels appear under the signed-in user's name, so a recipient cannot tell whether a person wrote the message or an agent did. A prompt injection or a misread instruction can therefore put words in a colleague's mouth or send a message that others act on. Confirm that the agent's posts are restricted to named chats, that users know when an agent is active, and that content review applies to outbound messages.

Soft-deleting chats and messages

The deleteChat tool soft-deletes a chat and deleteChatMessage soft-deletes a single message, and tenant retention policies govern what happens next. Deletion can remove records that legal hold, eDiscovery or the user's own records depend on, and the operation runs without a second approval. Confirm that tenant retention policies cover the chats in scope, that deletion requires Chat.ReadWrite where the reviewer expects it, and that deletions can be traced in the audit records your organization keeps.

Listing content that may be incomplete

The Teams reference says compliance settings can hide some content from list results, so an agent may act on a partial view of a chat or channel and report that view as complete. A summary, a decision or a count built from that list can be wrong without any error. Confirm with Microsoft how compliance settings affect list results in your tenant, and tell users that agent answers about list contents are a partial read.

Teams reference

Preview tool drift

The Teams tools are marked as a preview feature, Microsoft says it might change preview tool names and parameters, and preview features are not meant for production use. An approval based on today's tool list may not match the tools that exist next month, so a permission review can go stale silently. Confirm the tool list in the Tools registry before each approval, re-review after Microsoft changes names or parameters, and record which tools were approved for which chats.

Teams server tools
25
Teams reference

How the policy, permission and retention layers stack

The request starts at the AI client calling the Teams MCP endpoint on the tenant-level URL. Before any Teams data is touched, the Microsoft 365 admin center tool and server policy is evaluated, then Entra authentication and the signed-in user's Teams permissions are checked. Only then does the Teams service apply compliance settings and retention rules, such as those governing deleteChat soft-deletes. A block at any layer stops the call, so check each layer separately: the server and per-tool admin settings, the user's own Teams access, and the tenant retention and compliance settings that decide what content is visible in results.

Illustrative order of checks for a single Teams MCP tool call.

How tenant policy, per-tool blocking and retention each limit the server

The Microsoft 365 admin center's Tools registry is the source of truth for which MCP servers a tenant can use, and availability can depend on tenant, licensing, rollout status, administrator approval and policy. Blocking a server disables every tool it exposes, which makes it the broadest switch available. Admins can also control individual tools, so a team can keep read access while removing write access. Confirm that the Teams server appears in the registry for your tenant, because the Teams reference is a preview and its availability may differ from one tenant to another.

  • Whole-server block: Blocking the Teams server removes all 25 of its tools, including reads, for the tenant or scope you choose.
  • Per-tool control: Individual tools can be disabled, which is the practical way to remove the 12 chat write and 13 team and channel operations you do not want agents to use.
  • Preview tool names: Microsoft says preview tool names and parameters may change, so a per-tool rule written today may need review after a change.
  • Work IQ policy is separate: The mutation defaults documented for Work IQ MCP do not apply to the Teams server, so do not assume the same protection.

Before approval, confirm in your own tenant which tools are visible, which are blocked, and whether the policy change was tested with a real client.

What soft delete and retention policy mean for deleted chats and messages

The Teams reference documents two delete operations that an agent can run through the official Teams server, and both are soft deletes. The deleteChat tool soft-deletes a chat, and Microsoft's documentation says tenant retention policies govern that operation. The deleteChatMessage tool soft-deletes a single message and returns a 403 unless the caller holds the Chat.ReadWrite permission. The practical point for a reviewer is that a soft delete is not the same as erasure: whether content is kept, for how long and who can recover it depends on tenant configuration, not on the agent's tool call. Before approving any delete tool, confirm with the tenant's compliance team which retention policies cover chats and channel messages in the tenant that will host the agent.

Retention, legal hold and eDiscovery settings matter because they decide whether an agent-driven deletion leaves a usable record. If a message is held under a legal hold or sits in a retention scope, the deletion may not remove it from discovery, and if no hold applies, the record may be gone sooner than the business expects. Ask the compliance team to confirm three things in writing: which retention policies apply to Teams chats and channel messages, whether any holds or eDiscovery cases currently cover the users who would run the agent, and whether the organization can search for and audit deletions performed by the agent identity. Also ask whether the tenant's audit settings capture the deletion events and the identity that triggered them, since that record is what an investigation would rely on.

Treat these answers as tenant facts to verify, not assumptions. The Teams reference also notes that compliance settings might hide some content from list results, so a list call run before a deletion may not show everything the agent could affect. For a pilot, a reasonable decision is to block or disable the delete tools until the compliance team has confirmed the retention and hold configuration, then re-check after any policy change. Document who owns the retention setting, who would be notified of agent-driven deletions, and how a deleted message would be recovered if a user or regulator asked for it.

Where the Teams server's controls fall short

The official Teams MCP server is still in preview, and its main lever is tool-level policy rather than filtering of the data itself. Several gaps follow from that: preview tools may change, compliance settings can hide content without an error, and the tenant policy that governs Work IQ does not cover the Teams server. Each card names the gap and the review, configuration or testing that covers it.

Preview status without production guidance

The Teams reference marks the tools as a preview feature and says preview features are not meant for production use. Microsoft may also change preview tool names and parameters, which can break agent flows or change what a tool does without much notice. Before approval, ask Microsoft in writing which tool contracts are stable, confirm the rollout status in your tenant's Tools registry, and pin a test plan that reruns after each Microsoft change.

Teams server tools
25
Teams reference

Tool-level policy as the main control

The controls available for the Teams server work mainly at the tool level. Admins can block the whole server, which disables every tool it exposes, or turn off individual tools. The server does not offer a general filter that limits which chats or channels a tool may touch beyond the caller's own permissions. Map each of the 25 tools to a business need, disable write tools such as posting, replying, adding members and creating private channels unless a use case is approved, and document the decision.

Manage MCP servers

Compliance settings hiding content silently

The Teams reference says compliance settings might hide some content from list results. A reviewer may see fewer chats or channels than exist, and the agent may answer from an incomplete view without any warning. This matters for investigations, legal holds and records reviews. Test with known chats under your actual compliance and retention settings, compare list output with an admin view, and tell staff that agent answers may omit content.

Work IQ policy not covering the Teams server

Microsoft's Work IQ MCP policy page says mutation operations such as create, update, delete and send are blocked by default and can be enabled through tenant policy. That page covers Work IQ MCP, not the Teams server. A reviewer who assumes the Work IQ settings govern Teams writes may leave posting and membership changes open. Confirm the policy that applies to each Teams tool in the Microsoft 365 admin center, and check it directly by attempting each write with a test account.

Work IQ policy page

Permissions still decide each request

Policy does not replace Entra authentication or OAuth permissions. Requests are still checked against the signed-in user's Microsoft 365 permissions, and the Teams reference returns a 403 when the caller lacks the required permissions. An agent acting for a user with broad chat access can read or post wherever that user can. Review which delegated scopes, such as McpServers.Teams.All, each client receives, and confirm that a test user without access to a sensitive chat gets a 403 from every relevant tool.

Monitoring of agent actions

Policy and permissions limit what an agent may do, but they do not tell a reviewer what it did. Soft-deleted messages and chats, added members and new private channels need an owner who can see them after the fact. Confirm which actions are recorded in your audit and Microsoft Purview logs, set alerts for write tools and deletions, and run a periodic test where you have an agent perform one approved action and verify that the record appears where your team expects it.

Questions reviewers ask before approving Teams MCP access

Is the official Teams MCP server production-ready today?

No, not according to Microsoft's own documentation. The Teams reference page marks the Teams MCP tools as a preview feature, says Microsoft might change preview tool names and parameters, and states that preview features are not meant for production use. Microsoft Learn also says the application-specific Microsoft 365 MCP tools, including the Teams set, are for backward compatibility only and should not be used in production or new projects. For new projects that need Microsoft 365 resources, the same reference points to Work IQ MCP with the Microsoft Copilot harness instead. Before any approval, ask the vendor and your Microsoft account team which status applies to your tenant and when a supported version is expected.

Does the Work IQ MCP policy control the Teams server too?

No. Microsoft's Work IQ MCP policy page covers Work IQ MCP only. It says mutation operations such as create, update, delete and send are blocked by default and that admins can enable supported scenarios through tenant policy in the Microsoft 365 admin center. Do not assume that setting carries over to the Teams server, which is a separate endpoint with its own fixed chat and channel tools. Confirm with Microsoft how the Teams server is governed in your tenant, and verify the effective behavior in a test tenant before you rely on it. Note also that policy does not replace Entra authentication or OAuth permissions, because requests are still checked against the signed-in user's existing Microsoft 365 permissions.

Is blocking one risky tool enough to contain the server?

It can be, but only if the admin center supports per-tool control for the server you deploy. Microsoft's Microsoft 365 admin center guidance says blocking an MCP server disables all the tools it exposes, and that admins can control individual tools instead of the whole server. Start by listing the 25 Teams tools and marking the write operations: posting messages to chats and channels, replying in channel threads, adding chat and channel members, creating private channels, and the delete operations. Then block or restrict those tools and test each one with a non-privileged account. Remember that the signed-in user's own Microsoft 365 permissions still limit what any allowed tool can reach.

What does retention do to deletes made by an agent?

Deletes are soft deletes, and tenant retention policies govern them. The Teams reference says the deleteChat tool soft-deletes a chat and that tenant retention policies govern the operation, and that deleteChatMessage soft-deletes a message and returns a 403 without Chat.ReadWrite. Soft deletion means an agent's delete may not remove content permanently, but the exact recovery window and what your retention rules keep depend on your tenant configuration. Ask your compliance team to confirm the retention labels and policies that cover Teams chats and channels, and test an agent-initiated delete in a test tenant to see what remains recoverable and where it is logged.

Can DeployOpen test our Teams MCP setup before rollout?

Yes, as a fixed-scope security review. DeployOpen runs AI agent rollout security reviews that test the setup for prompt injection, tool and file permissions, data exposure, credential handling, SSO and admin settings, and then delivers a findings report with fixes and a retest. For the Teams server, that review would focus on which tools each agent can reach, whether per-tool blocks behave as documented, how the signed-in user's permissions limit results, and whether compliance settings hide content from list results. DeployOpen does not issue audit reports, attestations or certifications. Scope, deliverables and timelines are agreed in writing before work starts, and DeployOpen does not publish a price list, so a quote follows from that written scope.

What can we configure ourselves, and what drives the cost?

Your own admins can set availability, approval and per-tool controls in the Microsoft 365 admin center, which the Tools registry there describes as the source of truth for MCP servers in a tenant. Availability can vary by tenant, region, rollout status, licensing, administrator approval and policy, so the Teams server may not appear for every tenant. Licensing is the first thing to confirm, because the license tier, Copilot or Agent 365 entitlements and any Copilot Studio usage determine what your staff can connect. Costs come from licenses you already buy from Microsoft, your internal review time, and any external testing or retest. Ask Microsoft which licenses cover the server in your tenant, and ask DeployOpen for a quote built from a written scope.

Which Teams tools can post or change content, and which only read?

The Teams reference lists 25 tools: 12 chat tools and 13 team and channel tools, covering create, update, delete, list and post operations. Write tools include posting plain-text messages to chats and channels, replying in channel threads, adding chat and channel members, and creating private channels. List and read tools return content, but compliance settings might hide some content from results, and message tools return a 403 when the caller lacks the required permissions. Treat every write tool as a change to a live conversation, and treat list tools as a data exposure path. Map each tool to a named use case before you allow it.

What to check if an agent deletes or posts content it should not

The first control to decide on is per-tool blocking. The Microsoft 365 admin center lets admins control individual tools instead of the whole server, and blocking a server disables every tool it exposes. For the Teams server, that means an admin can leave read tools available while disabling the write tools that post plain-text messages to chats and channels, reply in channel threads, add members, create private channels, or run deleteChat and deleteChatMessage. Confirm in your own tenant that the tool-level setting takes effect for each write tool before you approve the server for any group. Do not rely on a whole-server block as the only safeguard, because it also removes the read tools that many workflows need.

Entra permissions are the second limit, and they apply whatever the agent is told to do. The Teams reference says chat and channel tools return a 403 when the caller lacks the required permissions, and deleteChatMessage returns a 403 without Chat.ReadWrite. Scope is set by the scope McpServers.Teams.All and by the signed-in user's own Teams rights, so an agent acting for a user can only change what that user could change. Retention is the third limit. The Teams reference says deleteChat soft-deletes a chat and that tenant retention policies govern the operation, and deleteChatMessage also soft-deletes. Ask your Microsoft 365 administrators to confirm which retention and hold settings apply to those chats before rollout, because a soft delete is not the same as a permanent removal.

Before rollout, check the following. Confirm which of the 25 tools are enabled for each group and that the 13 team and channel write tools are blocked unless a named workflow needs them. Confirm that the agent's account is a standard user, not an administrator, and that its Teams permissions match the purpose. Ask Microsoft 365 administrators to verify retention and legal hold policies on the chats and channels in scope. Test the agent in a non-production team with a post, reply and delete request. Note that the Teams tools are a preview, that tool names and parameters may change, and that Microsoft says preview features are not meant for production use. Re-run these checks whenever the tool list changes. Illustrative example: a prompt that says "clean up old posts" should fail on a blocked tool, and a blocked tool should leave an audit trail your reviewers can find.

How DeployOpen tests and documents Teams MCP security for your review

DeployOpen works on Teams MCP security as an AI agent rollout review: it tests the setup your organization actually runs, including tool permissions, credential handling and admin settings, and delivers findings with fixes and a retest. Engagements are fixed-scope, with the scope agreed in writing before work starts.

How we scope

  • Agree in writing which Teams MCP tools, chats, channels and tenants fall inside the review
  • Confirm which Teams reference version and preview tool set your tenant exposes before testing
  • Record which users, agent builders and clients will connect, and under which Entra identities

How we build

  • Map each of the 25 Teams tools to the permissions, scopes and policy settings that govern it
  • Test write tools such as posting, replying, adding members and creating private channels against least-privilege accounts
  • Check that tool-level blocks, retention policies and compliance settings behave as your documentation says

How we hand over

  • Deliver a findings report that ranks risky tools, permission gaps and data exposure by impact
  • Document recommended admin settings, tool allowlists and per-tool controls with the reasoning behind each
  • Retest the agreed fixes and record the results so your security and compliance reviewers can review them

How we support

  • Offer ongoing support and continuous testing as a retainer when the preview tool set or tenant policy changes
  • Re-review the setup when Microsoft updates preview tool names, parameters or the Tools registry
  • Keep evidence current for compliance reviews, with independent auditors issuing any formal assessment

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.