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.
A connector in each tool, or one role layer under all four.
Today: a direct OAuth connector in each tool- SharePointOld “Everyone except external users” links and broken inheritance on sub-folders
- SlackSemi-public channels where HR and legal updates were shared years ago
- ERPOne broad service credential, so payroll journals sit beside customer invoices
Each tool reads through its own connector and inherits every gap, so the same person can get a refusal in Teams and a full answer in Slack.
With the Company Twin underneath all four- Customer receivables and delivery milestonesAnswered for account managers on their own accounts
- Payroll and legally privileged mattersThe same “not found” in every tool
- Claude app, SSO sign-inSlack
- Copilot or the Twin agent, Entra sign-inMicrosoft Teams
/mcp/graphfederated connectorMicrosoft 365 Copilot/mcp/graphover OAuth 2.1Claude
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.
Four checks to run before widening connector access
- 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.
- 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.
- 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.
- 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, Microsoft Teams, Slack and 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.
A few practical questions.
Does adopting a governed knowledge graph mean replacing Claude in Slack or Copilot in Teams?
No. People stay in the tools they already use: Claude in Slack or Claude Desktop, and Microsoft 365 Copilot in Teams. Company Twin sits underneath those tools as one governed MCP and app layer so every client enforces the same permissions and returns the same figures.
Why are standard Slack and SharePoint OAuth permissions not enough for enterprise AI?
App-level OAuth only checks whether a user has coarse access to a workspace or connector. It cannot cleanly separate legally privileged matters, payroll rows, board papers or restricted customer accounts that sit inside shared folders, broad ERP credentials or inherited channel permissions.
How does a governed graph prevent an AI model from leaking restricted records via prompt injection?
Access control runs deterministically inside the graph and agent runtime before any record enters the model's context window. If a user's Entra or SSO role does not permit access to payroll, legal privilege or a restricted entity, those rows are never retrieved and the query returns 'not found'.