# Permissions That Hold in Slack and Teams

> Teams already use Claude in Slack and Copilot in Microsoft 365. The risk is not the AI client; it is attaching broad OAuth connectors to mixed-sensitivity data without a record-level permission layer.

Published: 2026-11-11T10:15:00Z
Updated: 2026-11-23
Author: Archie Norman (Founder, Mercury Labs)
Category: Twin
Tags: permissions, governance, slack, claude, copilot, teams, security, mcp, entra
Canonical URL: https://mlx.systems/blog/claude-slack-copilot-teams-enterprise-permissions

## TL;DR

- You do not have to rip Claude out of Slack or block Microsoft 365 Copilot in Teams to enforce enterprise data governance.
- Direct OAuth app connectors inherit years of coarse workspace permissions, exposing SharePoint oversharing, broad ERP service accounts and mixed-sensitivity threads containing payroll or legally privileged matters.
- Sitting a governed knowledge graph underneath Slack, Teams, Copilot and Claude enforces record-level Microsoft Entra and SSO roles deterministically, returning 'not found' for restricted records across every client.

---

We keep hearing the same question from UK CTOs and security leads:

> *"Engineering and product love Claude in Slack. Finance and operations live in Microsoft 365 Copilot and Teams. We don't want to rip either tool out. How do we enforce real permissions beyond coarse app connectors, especially on payroll, board papers and legally privileged matters?"*

Most enterprise AI governance guides miss that question completely. They stop at workspace admin switches: turn on Slack Enterprise Grid app controls, require Okta or Entra SSO, block personal accounts. Those switches are worth turning on, but they only decide **who can install a connector**. They say nothing about **which specific business records an AI tool can pull together once the connector is live**.

## Why direct OAuth connectors leak sensitive context

Wire Claude directly to Slack, SharePoint, Jira, HubSpot and your finance system with individual OAuth connectors, then wire up Microsoft 365 Copilot separately, and four practical problems show up quickly.

First, **years of workspace drift become instant search**. Almost every SharePoint tenant has *"Everyone except external users"* links, broken sub-folder inheritance and old guest accounts left over from finished projects. Slack workspaces accumulate semi-public channels where commercial, HR or legal notes were pasted years ago. Staff rarely dug through those folders by hand; an AI assistant finds and summarises them in two seconds.

Second, **one system almost always holds mixed sensitivity**. Your ERP stores everyday customer invoices in the same database as payroll journals, executive pay and M&A advisory fees. Your document store holds routine supplier contracts right next to legally privileged counsel advice. App-level OAuth is all-or-nothing: either a user or service account can reach the system, or it cannot.

Third, **Copilot and Claude stop enforcing the same rules**. Even if IT spends weeks tuning Microsoft Purview sensitivity labels for Copilot, direct MCP connectors inside Claude or Slack do not inherit those policies automatically. The exact same employee can get a clean refusal in Teams and a full summary in Slack five minutes later.

Fourth, **a system prompt is not a security boundary**. Writing *"never disclose payroll, HR disputes or legally privileged advice"* in an agent prompt does not protect anything if those records still land in the model's context window. Indirect prompt injection or a slightly reworded follow-up question can still pull them out.

## Direct app connectors vs. one governed role layer

| Security dimension | Direct OAuth app connectors (Slack / SharePoint / ERP) | Company Twin governed knowledge graph |
|---|---|---|
| **Scope of enforcement** | App-level or folder-level workspace permissions; each connector applies its own rules. | Record-level and entity-level role policies enforced once across all connected systems. |
| **Legally privileged & payroll data** | Easily exposed through inherited SharePoint links or broad ERP service credentials. | Filtered out deterministically before retrieval; returns `"not found"` to unauthorised users. |
| **Consistency across AI clients** | Copilot, Teams, Slack and Claude each carry separate connectors and drift apart. | One governed MCP endpoint (`/mcp/graph`) and app layer serves identical boundaries everywhere. |
| **Where access control runs** | Split between source-app ACLs and probabilistic prompt instructions. | Deterministic policy check inside the model-free Rust graph engine and runtime, outside the LLM. |
| **Audit trail** | Scattered across vendor logs with weak record-level provenance. | Single audit trail showing who asked, which role applied and which exact records were cited. |

## Sitting underneath Slack, Teams, Copilot and Claude



People will not leave the tools they work in all day. Tell engineers to stop using Claude in Slack, or tell finance to drop Microsoft 365 Copilot, and shadow AI turns up by Friday.

> Go to where people already work. Don't ask them to move.

The cleaner pattern is to keep every client where it is and put **one governed data layer underneath all of them**.

<figure>
<figcaption>Figure 01: A direct OAuth connector in each tool inherits every gap in the systems behind it: old SharePoint sharing links, semi-public Slack channels and one broad ERP credential. With the Company Twin underneath Slack, Teams, Microsoft 365 Copilot and Claude, one Microsoft Entra and SSO role layer decides what each person can read, inside the graph engine and before any model runs.</figcaption>
</figure>

When someone asks a question in Microsoft 365 Copilot, mentions `@Twin` in Teams, chats in Slack or calls MCP from Claude, their **Microsoft Entra ID** (or corporate SSO) identity travels with the request. IT, Legal and Finance define the role boundaries once, outside any model:

- Account managers can read customer receivables, support tickets and open delivery milestones for their own accounts.
- Legal counsel and named executives can query restricted matter folders and board packs.
- Payroll, disciplinary HR notes and legally privileged advice stay invisible to everyone else.

If someone outside the legal or executive role asks *"Summarise any open employment disputes or privileged counsel notes on Client X"*, the model-free Rust graph engine removes those records before a language model ever sees the query. The model cannot leak context it never received, so Copilot, Teams, Slack and Claude all return the exact same “not found”. When a caller *is* permitted, the answer arrives with direct references back to the source records and sync timestamps.

<figure>
<figcaption>Figure 02: The same account manager asks the same two questions of Claude in Slack and of Copilot in Teams. The commercial question returns the same figures from Xero in both, with the access they were read with and when. The question about employment disputes and privileged counsel notes returns the same “not found” in both. The customer and amounts are illustrative.</figcaption>
</figure>

## Four checks to run before widening connector access

1. **List where sensitive records actually sit:** payroll nominals, HR disputes, board papers, M&A workstreams and legally privileged advice across SharePoint, private Slack channels and ERP tables.
2. **Hunt down shared service accounts:** check every custom Copilot Studio agent and MCP server to make sure it runs under per-user identity rather than one broad ERP or warehouse credential.
3. **Test parity across every client you allow:** ask the same five restricted questions as a standard commercial user in Copilot, Teams, Slack and Claude, and verify every surface refuses identically.
4. **Keep read context separate from write actions:** start every graph deployment strictly read-only on operational systems so a bad prompt can never post a journal, send an email or change permissions.

## Further reading

See how Company Twin enforces one governed role layer across [Microsoft 365 Copilot](/copilot), [Microsoft Teams](/teams), [Slack](/slack) and [Claude](/claude). For the deeper technical argument on why access control cannot live inside the prompt window, read [Context Is a Security Boundary, Not a Token Budget](/blog/context-is-a-security-boundary).
