Follow Discord
Sweep 03 Dec 2026 · 19:13Z Build v2.1.336 553 read Stable v2.1.332 Latest v2.1.336 Next v2.1.336 Feeds RSS JSON llms.txt llms-full.txt Unofficial
One change · claude-docs

Use Claude for M365 with third-party platforms changedoffice-agents/third-party-platforms

Nearest release: v2.1.335, published 8 hours after upstream edited the page. Shown because the two are within 24 hours of each other. Nothing here says the release caused the edit.

Upstream edited this page at 2 Dec 2026 13:47 UTC, give or take a minute or two: the time comes from Anthropic’s own sitemap rather than from a commit. This site recorded the change at 2 Dec 2026 14:07 UTC.

Upstream edited
Recorded here
Lines+263added
Lines−4removed
From line 141 where the diff opens
First seen 14 Aug 2026 this site's first read of the page
Recorded edits33to this page, all time

## Connector requirements for IT teams ### List a server in `mcp_servers` ### Choose whether users sign in ### OAuth sign-in requirements ### CORS requirements for connectors ### Microsoft 365 connector ### A connector shows "Connection failed" or can't sign in

The whole hunk

from line 141, old and new numbered
/
lines
from line 141
141141| `<resource>.services.ai.azure.com` | If using Foundry direct | Microsoft Foundry inference endpoint; replace `<resource>` with your resource name. |
142142| Your Vertex AI gateway URL | If using Vertex AI direct through your own gateway | The gateway or proxy set in `gcp_base_url`. Connections made while it is set do not call `aiplatform.googleapis.com` or `<region>-aiplatform.googleapis.com`. Google sign-in still uses `accounts.google.com` and `oauth2.googleapis.com`. |
143143| Your Foundry gateway URL | If using Foundry direct through your own gateway | The gateway or proxy set in `azure_base_url`. Connections made while it is set do not call `<resource>.services.ai.azure.com`. |
144| Your MCP server URLs | If using connectors | The remote MCP servers listed in `mcp_servers`. The task pane calls them directly from the user's machine, so each must allow CORS for `https://pivot.claude.ai`. For servers that use OAuth sign-in, the same applies to their authorization server. |
144| Your MCP server URLs | If using connectors | The remote MCP servers listed in `mcp_servers`. The task pane calls them directly from the user's machine, so each must allow CORS for `https://pivot.claude.ai`. For servers that use OAuth sign-in, the same applies to their authorization server. See [Connector requirements for IT teams](#connector-requirements-for-it-teams). |
145145| `graph.microsoft.com` | If using Outlook | Microsoft Graph mailbox and calendar API. |
146146 
147147## Deploy the add-in for your organization
from line 702
702702 
703703When `gateway_auth_source=entra` is set, the add-in ignores any
704704`azure_api_key` it receives: the administrator chose keyless sign-in.
705Each user sees a one-time Microsoft sign-in prompt if silent sign-in is
706not available; afterwards the add-in connects automatically.
705Each user sees a Microsoft sign-in prompt if silent sign-in is not
706available. On a first sign-in, the add-in then connects automatically.
707707 
708708### Route Foundry direct through your own gateway
709709 
from line 941
941941Signing out deletes saved Claude for Outlook conversations. A bootstrap
942942endpoint keeps the token current, so users don't have to sign out.
943943 
944## Connector requirements for IT teams
945 
946Connectors on a third-party platform are the remote MCP servers you list
947in the `mcp_servers` configuration key or in the
948[Enterprise Admin Console](https://claude.com/docs/office-agents/admin-console.md). The add-in calls
949each server directly from the user's machine, with no Anthropic service in
950between, so the server has to accept requests from a browser.
951 
952### List a server in `mcp_servers`
953 
954`mcp_servers` is a JSON array with one entry for each server. Set it in the
955manifest to give everyone the same list, or return it from a bootstrap
956endpoint to vary the list by user. In the manifest URL, URL-encode the JSON
957and put it after `#`: see
958[Keep credentials out of the manifest URL query string](#keep-credentials-out-of-the-manifest-url-query-string).
959 
960| Field | Required | Description |
961| - | - | - |
962| `url` | Yes | The server's MCP endpoint. The add-in sends every MCP request to it as a `POST`. |
963| `label` | No | The name shown in the "Connectors" menu. Defaults to the URL's host and path. |
964| `headers` | No | Header names and values sent with every MCP request to the server, such as a static API key. |
965| `discover` | No | Whether users sign in to the server with OAuth. Defaults to `false` when the entry has `headers` and to `true` when it doesn't. |
966 
967The following example lists one server of each kind: OAuth sign-in, a static
968header, and no authentication.
969 
970```json theme={null}
971[
972 { "url": "https://mcp.example.com/mcp", "label": "Research" },
973 {
974 "url": "https://tools.example.com/mcp",
975 "label": "Internal tools",
976 "headers": { "X-Api-Key": "sk-tools-xxxxx" }
977 },
978 { "url": "https://docs.example.com/mcp", "label": "Public docs", "discover": false }
979]
980```
981 
982### Choose whether users sign in
983 
984The `discover` field decides what the add-in does with a server when it
985loads.
986 
987* **`discover: true`**: the server appears in the "Connectors" menu with a
988 "Connect" button, and the add-in sends it nothing until the user selects
989 that button. Once the user has signed in, the add-in adds
990 `Authorization: Bearer` with the user's token to every request, along with
991 any `headers` you set. While it holds that token, it connects each time it
992 loads.
993* **`discover: false`**: the add-in connects as soon as it loads, with only
994 the `headers` you set. Users see no "Connect" button. If the connection
995 fails, the menu shows "Connection failed" and a retry button.
996 
997Set `"discover": false` on a server that needs no authentication. Such an
998entry has no `headers`, so without the field the add-in offers a sign-in
999that the server can't complete.
1000 
1001After you change `discover`, an add-in that is already running can keep
1002showing the old "Connect" button until it reloads. Ask users to restart
1003Excel, PowerPoint, Word, or Outlook, or to reload the page in Office on the
1004web.
1005 
1006A server that comes from the Enterprise Admin Console has no `discover`
1007field. With no headers, it always offers a sign-in. With headers and no
1008OAuth setting, it connects as soon as the add-in loads.
1009 
1010A skipped server doesn't appear in the "Connectors" menu. The add-in skips a
1011console server that has any of the following:
1012 
1013* `toolPolicy` entries
1014* A `headersHelper`
1015* An OAuth mode other than dynamic client registration
1016* A transport other than HTTP or SSE
1017 
1018### OAuth sign-in requirements
1019 
1020For a server with `discover: true`, the add-in runs the OAuth 2.0
1021authorization-code grant with PKCE from the browser. The server and its
1022authorization server must meet all of these requirements:
1023 
1024* **Metadata**: the server names its authorization server in OAuth
1025 protected-resource metadata, as in RFC 9728, or serves
1026 authorization-server metadata, as in RFC 8414, at
1027 `/.well-known/oauth-authorization-server` on its own origin. The add-in
1028 uses protected-resource metadata only if its `resource` is on the MCP
1029 server's origin, at the server's path or a parent of that path. It reads
1030 the first entry of `authorization_servers` and no other.
1031* **One origin**: `issuer`, `authorization_endpoint`, `token_endpoint`, and
1032 `registration_endpoint` all share the authorization server's scheme,
1033 host, and port. When the MCP server serves the metadata itself, that
1034 origin is the MCP server's own. The add-in refuses metadata that sends
1035 any of them to another origin.
1036* **HTTPS**: the authorization server uses `https`.
1037* **Open registration**: the metadata includes a `registration_endpoint`
1038 that accepts dynamic client registration, as in RFC 7591, for a public
1039 client with no secret. `mcp_servers` has no field for a client ID that
1040 you registered in advance. For a server without open registration, set a
1041 static credential in `headers` instead.
1042* **Redirect URI**: the authorization server accepts
1043 `https://pivot.claude.ai/auth/gateway-callback`. See
1044 [Why sign-in redirects through pivot.claude.ai](#why-sign-in-redirects-through-pivot-claude-ai).
1045 
1046### CORS requirements for connectors
1047 
1048Every request to a connector comes from `https://pivot.claude.ai`, so the
1049browser discards any response that lacks CORS headers. A server can work
1050in Claude Desktop or Claude Code, which don't enforce CORS, and still fail
1051in the add-in.
1052 
1053The MCP server must do all of the following:
1054 
1055* Return `Access-Control-Allow-Origin: https://pivot.claude.ai` or `*` on
1056 every response, including errors. Without it, the add-in can't tell a
1057 `401` from a network failure.
1058* Answer the `OPTIONS` preflight with a 2xx status without asking for
1059 credentials.
1060* List in `Access-Control-Allow-Headers` each request header in the
1061 following table that applies to the server.
1062* If it assigns session IDs, return
1063 `Access-Control-Expose-Headers: Mcp-Session-Id` so that the add-in can
1064 read the ID and send it back.
1065 
1066| Request header | When the add-in sends it |
1067| - | - |
1068| `content-type` | Always |
1069| `mcp-protocol-version` | Always |
1070| `mcp-session-id` | After the server returns a session ID |
1071| `authorization` | After an OAuth sign-in, or when you set it in `headers` |
1072| Each name in the entry's `headers` | Always |
1073 
1074The add-in doesn't send `x-mcp-client-name` or `x-mcp-client-session-id`
1075to your servers, so a server doesn't need to allow them. Add-ins loaded
1076before about 05:00 UTC on November 30, 2026, sent both, and a server that
1077didn't allow both failed to connect.
1078 
1079An add-in that has kept running since before that time sends them until it
1080reloads. Ask users to restart Excel, PowerPoint, Word, or Outlook, or to
1081reload the page in Office on the web.
1082 
1083In `Access-Control-Allow-Headers`, the `*` wildcard does not cover the
1084`Authorization` header per the Fetch specification, so list it explicitly
1085if the server receives it.
1086 
1087A server that names its protected-resource metadata only in the
1088`WWW-Authenticate` header of a `401`, and not at a well-known path, must
1089also list that header in `Access-Control-Expose-Headers`. The address in
1090`WWW-Authenticate` must be on the MCP server's own origin, or the add-in
1091ignores it.
1092 
1093To check a server's preflight, send it yourself. The following command
1094asks for the two headers that the add-in sends to every server. Add each
1095other name from the table that applies to the server.
1096 
1097```bash theme={null}
1098curl -si -X OPTIONS https://mcp.example.com/mcp -H "Origin: https://pivot.claude.ai" -H "Access-Control-Request-Method: POST" -H "Access-Control-Request-Headers: content-type,mcp-protocol-version"
1099```
1100 
1101The response needs all of the following:
1102 
1103* A 2xx status
1104* `Access-Control-Allow-Origin` set to `https://pivot.claude.ai` or `*`
1105* An `Access-Control-Allow-Headers` value that covers every name you sent
1106 
1107This checks the preflight only: the responses to the `POST` requests need
1108their own CORS headers.
1109 
1110For a server with `discover: true`, the authorization server needs CORS
1111too:
1112 
1113* **Metadata and token endpoints**: return `Access-Control-Allow-Origin`.
1114 The browser sends no preflight for these requests.
1115* **Registration endpoint**: return `Access-Control-Allow-Origin`, answer
1116 the preflight, and allow `content-type`. If the endpoint is on the MCP
1117 server's own origin, also allow each name in the entry's `headers`.
1118 
1119### Microsoft 365 connector
1120 
1121The Microsoft 365 connector that Anthropic hosts at
1122`microsoft365.mcp.claude.com` isn't supported in the add-ins on a
1123third-party platform. Its sign-in runs on Microsoft Entra ID's origin and not
1124its own, so it doesn't meet the one-origin rule in the
1125[OAuth sign-in requirements](#oauth-sign-in-requirements), and no setting
1126on your side changes that. If you list it in `mcp_servers`, users can't
1127connect to it.
1128 
1129Leave the connector out of `mcp_servers`. Removing it doesn't affect Claude
1130Desktop, which reads its own `managedMcpServers` key: see
1131[Connect to Microsoft 365](https://claude.com/docs/third-party/claude-desktop/connectors-m365.md).
1132The add-ins skip the Microsoft 365 entries that the Enterprise Admin Console
1133sets up for Claude Desktop, so they don't appear in the "Connectors" menu.
1134 
9441135## Example gateway configuration with LiteLLM
9451136 
9461137> [!WARNING]
from line 1468
12771468`user_impersonation` permission with admin consent and that
12781469`entra_scope` is `https://cognitiveservices.azure.com/.default`.
12791470 
1471The error in the chat pane depends on your connection:
1472 
1473* **LLM gateway**: "Your organization's gateway didn't allow this request (HTTP 401)."
1474* **Foundry**: "Your organization's Foundry setup didn't allow this request (HTTP 401)."
1475* **Vertex AI with `gcp_base_url`**: "Your organization's Vertex gateway didn't allow this request (HTTP 401)."
1476* **other connections**: "Authentication failed. Please sign out and sign back in."
1477 
1478On the first three, the error then says to try again and to contact the
1479administrator. Where a new sign-in can bring a new token or key, such as with
1480Microsoft Entra ID or Google sign-in, it also suggests signing out and back
1481in. In Outlook, the sentence about which models Outlook needs can take the
1482place of the try-again sentence.
1483 
1484To see the gateway's or provider's own message, select Copy error details,
1485or the copy icon, next to the error, and read the text under `Raw error`.
1486 
1487Logging out deletes saved Outlook conversations, and it doesn't fix a 401
1488while the connection details and the sign-in stay the same. Work through the
1489checks at the start of this section first, even if the error says to sign
1490out. Logging out and signing in again helps in cases such as these:
1491 
1492* **new connection details**: your IT team issued a new token, key, or URL that a bootstrap endpoint can't apply for you.
1493* **Google sign-in with `gcp_base_url`**: the gateway's policy allows the user, and the error continues. A new sign-in gets a new Google token.
1494* **Microsoft Entra ID sign-in**: the checks find nothing wrong, and the error continues. The add-in renews this sign-in silently, and it might no longer be able to. After logging out, select Authorize access if it appears, then select Continue on the form for your connection type.
1495 
1496See
1497[Change or update your gateway connection](#change-or-update-your-gateway-connection).
1498 
12801499In Outlook, if the model menu is missing or these checks don't explain the
12811500error, see
12821501[Outlook messages fail or the model menu is missing](#outlook-messages-fail-or-the-model-menu-is-missing).
from line 1599
13801599| Status | Error in the chat pane |
13811600| - | - |
13821601| 400 | Starts with "Something went wrong with your request." |
1383| 401 | Starts with "Authentication failed." and tells the user to sign out and sign back in. Some gateways return this status when a key or team isn't allowed to call the model. Signing out doesn't help then, and it deletes saved Outlook conversations. |
1602| 401 | Starts with "Your organization's gateway didn't allow this request (HTTP 401)." or "Your organization's Foundry setup didn't allow this request (HTTP 401)." Some gateways return this status when a key or team isn't allowed to call the model. Logging out doesn't help then, and it deletes saved Outlook conversations. |
13841603| 403 | Starts with "Access denied." On a gateway, the gateway's own message can follow. |
13851604| 404 | Names the model and says that it "isn't available in your organization's Claude setup. Ask your administrator to enable it." |
13861605 
from line 1749
15301749models in the menu is enabled in the account or project that serves your
15311750requests and, on a gateway, that the gateway routes that model's ID. Then
15321751choose that model in the menu.
1752 
1753### A connector shows "Connection failed" or can't sign in
1754 
1755The add-in couldn't use the MCP server from the user's machine. To read the
1756error, select the + button at the bottom of the chat pane, select
1757Connectors, and rest the pointer on a connector marked "Connection failed".
1758 
1759* **The error says "Failed to fetch", "Load failed", or "timed out"**: the
1760 browser gave the add-in no response. Usually the network blocks the
1761 server, or the server's CORS headers are missing. A timeout can also mean
1762 that the server took more than 15 seconds to answer. Confirm that the
1763 server's host, and its authorization server's host, are on your
1764 [Network allowlist](#network-allowlist), and then check the
1765 [CORS requirements for connectors](#cors-requirements-for-connectors).
1766* **The server works in Claude Desktop or Claude Code**: those apps don't
1767 enforce CORS. Check the
1768 [CORS requirements for connectors](#cors-requirements-for-connectors).
1769* **The error says the server "refused the credentials it was sent (HTTP
1770 401\)"**: the add-in tried to connect without a user sign-in, and the
1771 server answered `401`. Check that the names and values in the entry's
1772 `headers` are still valid on the server. If the entry has no `headers`,
1773 add the credential that the server expects in `headers`. If users should
1774 sign in to the server with OAuth, set `"discover": true` on its entry.
1775* **The server needs no authentication but shows "Connect"**: set
1776 `"discover": false` on its entry. See
1777 [Choose whether users sign in](#choose-whether-users-sign-in). A server
1778 from the Enterprise Admin Console has no such field: it connects without
1779 a sign-in only if it has at least one header and no OAuth setting. The
1780 server must allow that header: see
1781 [CORS requirements for connectors](#cors-requirements-for-connectors).
1782* **"Connect" ends in an error**: the error appears on the card that
1783 "Connect" opens, not in the list. Compare the server with the
1784 [OAuth sign-in requirements](#oauth-sign-in-requirements), and its
1785 authorization server with the
1786 [CORS requirements for connectors](#cors-requirements-for-connectors).
1787* **A server from the Enterprise Admin Console is missing from the menu**:
1788 check whether it's one that the add-in skips. See
1789 [Choose whether users sign in](#choose-whether-users-sign-in).
1790* **The connector is Microsoft 365**: see
1791 [Microsoft 365 connector](#microsoft-365-connector).
15331792 
15341793### Streaming responses fail or hang
15351794 
Feedback