Skip to main content
Print

How to Connect Claude to Microsoft 365 (Outlook, SharePoint, Teams) Without Creating a Data Leak

Your team wants Claude to summarize an Outlook thread, pull a scope document from SharePoint, or draft a reply from a Teams conversation. Claude for Work supports this through its Microsoft 365 connector and Model Context Protocol (MCP) servers, but when a user first clicks Connect they are asked to grant an application permissions such as Read your mail and Read all files you have access to. Done carelessly, that consent creates a durable, invisible channel out of your tenant.

This guide is for organizations on Claude Team or Enterprise with Microsoft 365, especially where email and SharePoint hold protected health information, CUI, or client financial data. The goal is a connection a HIPAA auditor, CMMC assessor, or cyber insurer would accept: admin-consented, scoped, enforced by Conditional Access, and logged.

Why This Happens

OAuth consent is the real attack surface. Every Claude connector to Microsoft 365 is an OAuth application in Entra ID (formerly Azure AD). When a user consents, Entra ID issues refresh tokens that let the app act as that user until revoked. If your tenant allows users to consent to any application, an employee can connect an unofficial “Microsoft 365 MCP server” from an unknown publisher with the same click, and it looks identical to the sanctioned connector.

Delegated permissions inherit oversharing. The official connector uses delegated scopes, so Claude reads only what the signed-in user can read. That is the correct design, but every overshared site and “Anyone” link is now reachable by a tool that is very good at finding things.

Browser agents bypass API governance. Claude in Chrome operates inside the user’s live browser session. It never asks Entra ID for anything, so Conditional Access and app governance cannot see it, and a malicious page or email can attempt to instruct it.

How to Fix It

Method 1: Lock down consent before anyone connects

  1. In the Entra admin center, open Enterprise applications > Consent and permissions > User consent settings and select Do not allow user consent, or at most allow verified publishers for low-impact permissions.
  2. Under Admin consent settings, enable the admin consent request workflow and name reviewers, so users request a connector instead of connecting it.
  3. Review user-consented apps in Defender > Cloud apps > OAuth apps and remove unofficial AI integrations.

Method 2: Enable the connector the right way

  1. In Claude, open Admin settings > Connectors and enable the Microsoft 365 connector. Leave Allow members to add custom connectors off unless you have vetted a specific remote MCP server.
  2. With Claude already federated to Entra ID through SSO, have a Global or Cloud Application Administrator connect once and choose Consent on behalf of your organization. Expect read scopes for mail, calendar, files, sites, and chat. If .ReadWrite or application-level permissions appear, stop and verify the publisher.
  3. The Claude application now appears under Enterprise applications. Open Properties, set Assignment required? to Yes, then assign a security group under Users and groups.

Method 3: Enforce device and identity conditions

  1. Create a Conditional Access policy targeting the Claude application(s). Require MFA and a compliant or Entra hybrid joined device, block countries where you do not operate, and set a shorter sign-in frequency. Start in Report-only mode.
  2. In Defender > Cloud apps > App governance, confirm the Claude app is listed and create a policy that alerts on unusual data volume or a permission increase. App governance can disable an OAuth app automatically, which is your kill switch.

Method 4: Reduce what the connector can reach

  1. Run the SharePoint admin center Data access governance reports and remove “Anyone” and org-wide links from sites holding sensitive data, the same cleanup Microsoft 365 Copilot needs.
  2. Apply sensitivity labels with encryption to the most sensitive libraries. An application reading through Graph receives the encrypted file and cannot extract its contents without rights. Use Restricted Content Discovery on sites no AI tool should ever search.

Method 5: Govern Claude in Chrome and custom MCP servers separately

  1. Through Intune or Chrome Enterprise, set ExtensionInstallBlocklist to * and allow Claude in Chrome through ExtensionInstallAllowlist for pilot users. In the extension, restrict the sites Claude can act on and keep confirmation prompts on.
  2. For any custom remote MCP server, require a security review: who hosts it, what Graph permissions its app registration holds, where it logs, and whether it uses OAuth rather than a stored client secret. Only then add it as an organization connector.

How to Verify the Fix Worked

  • As a user outside the assigned group, try to connect Microsoft 365 in Claude. Entra ID should report the user is not assigned to the application.
  • As an assigned user on an unmanaged device, try again. The sign-in should be blocked and logged in Entra ID > Sign-in logs with the policy name.
  • Confirm the app appears in App governance with expected permissions and connector events appear in the Claude Enterprise audit log.

If It Still Isn’t Working

Users see error 53003 or AADSTS50105. The first is a Conditional Access block; the second means the user is not assigned to the application. Both are the controls working. Check group membership and device compliance rather than loosening policy.

The connector authorizes but returns no files. The user lacks permissions, the site is under Restricted Content Discovery, or the file is encrypted. Test SharePoint search as the user.

Consent fails with “needs admin approval.” The request is under Enterprise applications > Admin consent requests.

Two limits apply. Conditional Access and App governance cannot see Claude in Chrome; only browser policy can. And nothing on the Microsoft side changes how Anthropic retains data; that is set by your Claude tier and retention settings. If App governance flags anomalous access, treat it as an incident and escalate.

How Capital Techies Handles This for Managed Clients

Capital Techies deploys the Claude Microsoft 365 connector as a change-controlled project: user consent disabled tenant-wide with an approval workflow, the connector admin-consented and assigned to a named group, a Conditional Access policy requiring compliant devices, App governance alerting in Defender for Cloud Apps, and a SharePoint oversharing cleanup before go-live. Endpoints run SentinelOne and Microsoft Defender, and KnowBe4 training covers prompt injection and safe AI use.

The result is an AI capability your staff can use, with an audit trail that satisfies HIPAA, CMMC, and cyber insurance questionnaires. To connect Claude without inheriting a data leak, talk to Capital Techies about our Microsoft 365 services.

Frequently Asked Questions

Does connecting Claude to Microsoft 365 give Anthropic a copy of our mailbox or SharePoint?

No. The connector uses delegated Microsoft Graph permissions, so Claude retrieves only the messages or files a request needs, at the moment of the request, under that user’s own permissions. Claude for Work does not train on customer data by default, and retention follows your workspace settings.

Can we allow the connector for one department only?

Yes. Set Assignment required to Yes on the Claude enterprise application in Entra ID and assign a security group. Users outside the group cannot complete sign-in even if the connector is enabled in Claude, and Conditional Access can add device and location conditions.

Is Claude in Chrome the same as the Microsoft 365 connector?

No. Claude in Chrome is a browser extension that reads and acts on whatever page is open in the user’s session, including Outlook on the web. The connector is a Graph API integration you consent to as an admin, so it is auditable and scoped. The extension needs browser policy and a site allowlist instead.

Related Articles

Table of Contents