Follow Discord
Sweep 20 Nov 2026 · 19:55Z Build v2.1.330 547 read Stable v2.1.323 Latest v2.1.330 Next v2.1.330 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.329, published an hour before 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 19 Nov 2026 19:45 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 19 Nov 2026 20:07 UTC.

Upstream edited
Recorded here
Lines+268added
Lines−33removed
From line 40 where the diff opens
First seen 14 Aug 2026 this site's first read of the page
Recorded edits25to this page, all time

### 400 or "Something went wrong with your request" ### 401 Unauthorized, "Authentication failed", or "Invalid token" ### "Enter model name" screen or "No Claude model" error ### Outlook messages fail or the model menu is missing #### Fix a gateway that uses the `anthropic` format #### Fix a Foundry direct connection #### Fix Bedrock, Vertex AI, and gateways in those formats ### 401 Unauthorized or "Invalid token" ### "No models available"

The whole hunk

from line 40, old and new numbered
/
lines
from line 40
4040* For Outlook: Microsoft Graph admin consent for `Mail.ReadWrite`,
4141 `Calendars.Read`, `User.Read`, and `offline_access`, granted via
4242 Anthropic's app or your own Entra app registration.
43* For Outlook: Claude Opus 4.7 or later, or Claude Sonnet 5 or later,
44 available on your connection path.
4345 
4446| Path | Additional requirements |
4547| - | - |
from line 48
4648| LLM gateway | Gateway URL and API token from your IT team. |
4749| Bedrock direct | AWS account with Claude model access enabled in target region. IAM OIDC identity provider and role configured to trust Microsoft Entra ID tokens. |
4850| Vertex AI direct | Google Cloud project with Vertex AI API enabled and Claude model access. Google OAuth client configured with the add-in's redirect URI. |
49| Foundry direct | Azure AI Foundry resource with at least one Claude model deployed. Deployment names must use default model IDs (for example, `claude-opus-4-6`), not custom names. Then one credential path: **keyless**, your own Entra app registration with the Azure Cognitive Services `user_impersonation` delegated permission (admin-consented) and users holding the Cognitive Services User role on the resource (see [Foundry direct without an API key](#foundry-direct-without-an-api-key)); or the resource API key from Azure Portal, your Foundry resource, Keys and Endpoint, KEY 1. |
51| Foundry direct | Azure AI Foundry resource with at least one Claude model deployed. Deployment names must use default model IDs (for example, `claude-opus-4-8`), not custom names. Then one credential path: **keyless**, your own Entra app registration with the Azure Cognitive Services `user_impersonation` delegated permission (admin-consented) and users holding the Cognitive Services User role on the resource (see [Foundry direct without an API key](#foundry-direct-without-an-api-key)); or the resource API key from Azure Portal, your Foundry resource, Keys and Endpoint, KEY 1. |
5052 
5153Your organization's IT team manages these resources. Anthropic cannot
5254provide or reset credentials.
from line 479
477479>
478480> Claude for Outlook on third-party platforms supports Claude Opus 4.7 and
479481> later and Claude Sonnet 5 and later. Earlier model generations are not
480> available on the Outlook surface.
482> available on the Outlook surface. If your connection doesn't offer one of
483> these models under an ID that Outlook accepts, messages in Outlook can fail.
484> See
485> [Outlook messages fail or the model menu is missing](#outlook-messages-fail-or-the-model-menu-is-missing).
481486 
482487### Deploy to Microsoft 365
483488 
from line 731
726731 
727732### Change or update your gateway connection
728733 
729If your gateway API token expires or your IT team provides a new URL,
730select Logout from the account menu and sign in again with your new
731credentials. This applies to LLM gateway, Bedrock, Vertex AI, and
732Foundry direct connections alike. Logging out deletes saved Claude for
733Outlook conversations, as described in
734[Data storage and retention](https://claude.com/docs/office-agents/data-storage.md#outlook-data-deleted-when-a-sign-in-ends).
734If your gateway API token expires or your IT team provides a new URL, log
735out and sign in again with your new credentials. This applies to LLM
736gateway, Bedrock, Vertex AI, and Foundry direct connections alike. A gateway
737token, or a Foundry API key for the same resource, that a bootstrap endpoint
738delivers needs no log-out.
735739 
740Logging out deletes saved Claude for Outlook conversations, your writing
741style, and what Claude has learned about your writing, for every account
742that has used Claude on the device. It does this whether you log out in
743Outlook or in another Office app that shares its storage. The add-in asks
744you to confirm first, and deleted data can't be recovered. See
745[Outlook data deleted when a sign-in ends](https://claude.com/docs/office-agents/data-storage.md#outlook-data-deleted-when-a-sign-in-ends).
746 
747Conversations in Excel, PowerPoint, and Word aren't deleted. If you sign in
748with a different gateway URL, Foundry resource, Google Cloud project, or AWS
749account, they stop appearing in chat history until you sign in with the
750earlier details again. The same happens when your IT team adds or removes a
751gateway in front of Foundry or Vertex AI.
752 
753Logging out also removes the stored token or key and connector sign-ins, and
754it can sign out other Claude panes on the same device. See
755[Sign-in and credentials](https://claude.com/docs/office-agents/data-storage.md#sign-in-and-credentials).
756 
757To log out, select More options, then Logout.
758 
736759## Gateway requirements for IT teams
737760 
738761The Office add-ins support the same three API formats as Claude Code.
from line 832
809832 
810833### Model discovery
811834 
812For gateways using `gateway_api_format: anthropic`, the add-in attempts
813to discover available Claude models via `GET /v1/models` on login. If
814your gateway doesn't expose a model list at that path, the add-in falls
815back to prompting the user for a model ID manually.
835For gateways using `gateway_api_format: anthropic`, the add-in discovers
836available Claude models via `GET /v1/models` at sign-in and each time the
837pane loads. Outlook offers only the listed models that it supports. See
838[Outlook messages fail or the model menu is missing](#outlook-messages-fail-or-the-model-menu-is-missing)
839for the model IDs that Outlook accepts.
816840 
841If the response lists no Claude models, or the gateway refuses or doesn't
842answer test requests to the listed models, the add-in usually prompts the
843user for a model ID at sign-in. If a test request fails for a reason that
844applies to the whole account, such as a 401 status, a budget limit, or a
845server error, and no listed model works, sign-in stops with an error. If
846`GET /v1/models` itself fails, sign-in stops with an error and the user
847can't enter a model ID.
848 
817849For `gateway_api_format: bedrock` and `gateway_api_format: vertex`, the
818add-in uses a built-in model list and probes the gateway to verify each
819model is reachable, rather than calling `GET /v1/models`.
850add-in uses a built-in model list and sends test requests until one model
851responds, rather than calling `GET /v1/models`.
820852 
821853### Differences from Claude Code gateway setup
822854 
from line 860
828860| Credential storage | OS keychain or environment variables | Browser localStorage (sandboxed iframe) |
829861| Auth configuration | Environment variables, settings file, helper scripts | Manual entry in add-in UI (gateway), Entra ID (Bedrock, keyless Foundry), Google OAuth (Vertex AI), or Azure API key (Foundry) |
830862| Token refresh | Supports helper scripts for rotation | Automatic via a bootstrap endpoint (gateway), Entra ID (Bedrock, keyless Foundry), or Google OAuth (Vertex AI); gateway tokens entered manually in the add-in UI require signing out and back in when they rotate |
831| Custom model names | Configurable via environment variables | Not configurable in v1 |
863| Custom model names | Configurable via environment variables | With `gateway_api_format: anthropic`, taken from your gateway's model list |
832864 
833865When gateway configuration comes from a bootstrap endpoint, the add-in
834866keeps the token current without user action. It calls the bootstrap
from line 875
843875token changed.
844876 
845877Gateway tokens entered manually in the add-in UI do not refresh
846automatically: sign out and sign in again with the new token when it
847rotates.
878automatically. When one rotates, sign out and sign in again with the new
879token, as described in
880[Change or update your gateway connection](#change-or-update-your-gateway-connection).
881Signing out deletes saved Claude for Outlook conversations. A bootstrap
882endpoint keeps the token current, so users don't have to sign out.
848883 
849884## Example gateway configuration with LiteLLM
850885 
from line 1194
11591194[Network allowlist](#network-allowlist) to confirm all required domains
11601195are allowed.
11611196 
1162### 401 Unauthorized or "Invalid token"
1197### 400 or "Something went wrong with your request"
11631198 
1199The gateway or cloud provider rejected the request. Select Copy error
1200details, or the copy icon, next to the error: the text under `Raw error`
1201shows the gateway's or provider's own message. Your gateway or provider logs
1202have more.
1203 
1204In Outlook, if the model menu is missing or that message doesn't explain the
1205error, see
1206[Outlook messages fail or the model menu is missing](#outlook-messages-fail-or-the-model-menu-is-missing).
1207 
1208### 401 Unauthorized, "Authentication failed", or "Invalid token"
1209 
11641210The auth token is invalid or expired. For gateway connections, confirm
11651211the token with your IT team. For direct-cloud connections, verify the
11661212user's Entra ID account is in the assigned group and that the OIDC trust
from line 1216
11701216`user_impersonation` permission with admin consent and that
11711217`entra_scope` is `https://cognitiveservices.azure.com/.default`.
11721218 
1219In Outlook, if the model menu is missing or these checks don't explain the
1220error, see
1221[Outlook messages fail or the model menu is missing](#outlook-messages-fail-or-the-model-menu-is-missing).
1222 
11731223### 403 Forbidden or "Access denied"
11741224 
11751225The token is valid but lacks the right permissions. For Bedrock, verify
11761226the IAM role has `bedrock:InvokeModel` permissions. For Vertex, verify
11771227your Google account has the Vertex AI User role on the project. For
1178gateways, check the token's scope with your IT admin. For Foundry, check
1228gateways, check the token's scope with your IT admin, including which
1229models it may call. For Foundry, check
11791230the resource's networking rules, or confirm the key belongs to the right
11801231resource. For keyless Foundry sign-in, confirm the user holds the
11811232Cognitive Services User role on the resource.
11821233 
1234In Outlook, if the model menu is missing or these checks don't explain the
1235error, see
1236[Outlook messages fail or the model menu is missing](#outlook-messages-fail-or-the-model-menu-is-missing).
1237 
11831238### 404 Not found
11841239 
11851240The add-in could not reach the expected API path. For gateways, verify
11861241the URL is the base URL such as `https://litellm.example.com:4000`.
1187Don't include `/v1/messages` in the URL field.
1242Don't include `/v1/messages` in the URL field. With
1243`gateway_api_format: anthropic`, the gateway must also answer
1244`GET /v1/models`. If that call fails, sign-in stops with an error.
11881245 
1246In Outlook, if the error says that a model isn't available, the model menu
1247is missing, or these checks don't explain the error, see
1248[Outlook messages fail or the model menu is missing](#outlook-messages-fail-or-the-model-menu-is-missing).
1249 
11891250### 500 or other server errors
11901251 
11911252The gateway or cloud provider encountered an internal error. Check your
from line 1254
11931254upstream provider errors. Try the request again, and contact your IT
11941255admin if the issue persists.
11951256 
1196### "No models available"
1257### "Enter model name" screen or "No Claude model" error
11971258 
1198The add-in could not find Claude models. For gateways using
1199`gateway_api_format: anthropic`, your gateway may not expose a model
1200list at `GET /v1/models`; your IT team can configure the gateway to
1201serve a model list or give you a specific model ID to enter manually.
1202For gateways using `gateway_api_format: bedrock` or `vertex`, none of
1203the built-in models responded to the add-in's probe; confirm with your
1204IT team that the gateway routes to a region or project with Claude
1205models enabled. For Bedrock or Vertex direct, confirm that at least one
1206Claude model (Claude Sonnet 4.5 or later) is enabled in your account and
1207region. For Foundry, confirm at least one Claude model is deployed in
1208the resource Model catalog.
1259The add-in could not find Claude models when it connected. On a gateway,
1260sign-in usually stops at an "Enter model name" screen. On Bedrock, Vertex
1261AI, or Foundry direct, the connection error usually starts with "No Claude
1262model" or "Model unavailable". Check the cause for your connection path.
1263 
1264* **Gateway with `gateway_api_format: anthropic`**: the gateway's
1265 `GET /v1/models` response lists no Claude models, or test requests to the
1266 models that it lists failed. The screen says that it could not retrieve
1267 the model list in both cases. If the list has no Claude models, your IT
1268 team can correct it or give you a model ID to enter. If it has Claude
1269 models, your IT team needs to correct the list or allow your token to call
1270 those models. Entering an ID yourself usually doesn't help then, because
1271 the add-in replaces an ID that isn't on the list.
1272* **Gateway with `gateway_api_format: bedrock` or `vertex`**: none of the
1273 built-in models responded to the add-in's test requests. Confirm with your
1274 IT team that the gateway routes to a region or project with Claude models
1275 enabled.
1276* **Bedrock or Vertex AI direct**: confirm that at least one Claude model,
1277 Claude Sonnet 4.5 or later, is enabled in your account and region.
1278* **Foundry direct**: confirm that at least one Claude model is deployed in
1279 the resource Model catalog under its default deployment name, such as
1280 `claude-opus-4-8`.
1281 
1282Connecting doesn't show that Outlook will work: a model that Outlook doesn't
1283support, such as Claude Sonnet 4.6, is enough to connect. If you use Outlook
1284and enter a model ID, enter the ID of a model that Outlook supports. The
1285example on that screen might not be one. If the add-in connects and Outlook
1286has no model menu or its messages fail, see
1287[Outlook messages fail or the model menu is missing](#outlook-messages-fail-or-the-model-menu-is-missing).
1288 
1289### Outlook messages fail or the model menu is missing
1290 
1291In Outlook, messages fail, the model menu at the bottom of the chat pane
1292doesn't appear, or both.
1293 
1294Outlook supports fewer models than Excel, PowerPoint, and Word. It needs a
1295Claude Opus model at version 4.7 or later, or a Claude Sonnet model at
1296version 5 or later. A newer model in another family doesn't meet this
1297requirement. A connection that works in the other apps can therefore fail in
1298Outlook.
1299 
1300To see what failed, select Copy error details, or the copy icon, next to the
1301error, and paste the result into a text editor. The `status` line shows the
1302HTTP status, the `model` line shows the model ID that Outlook sent, and the
1303text under `Raw error` shows what your gateway or cloud provider said. If
1304you don't manage the connection, send this text and a link to this section
1305to your IT team.
1306 
1307On Foundry direct, and on an LLM gateway that uses the default
1308`gateway_api_format: anthropic`, Outlook shows no model menu when the
1309connection offers no model under an ID that Outlook accepts. A supported
1310model isn't enough if its ID is a gateway alias that doesn't include its
1311Anthropic model ID, or a Foundry deployment name other than the default.
1312With no accepted ID to offer, Outlook usually sends each message to
1313`claude-opus-4-7`. If your gateway or Foundry resource serves Claude Opus 4.7
1314under that ID, messages work without the menu. If it refuses that ID, the
1315error in the chat pane depends on the HTTP status it returns.
1316 
1317| Status | Error in the chat pane |
1318| - | - |
1319| 400 | Starts with "Something went wrong with your request." |
1320| 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. |
1321| 403 | Starts with "Access denied." On a gateway, the gateway's own message can follow. |
1322| 404 | Names the model and says that it "isn't available in your organization's Claude setup." Settings has no model choice, so ask your IT team. |
1323 
1324Other statuses, and some gateway messages, show other errors. If your
1325gateway or Foundry resource doesn't serve the ID on the `model` line, or
1326doesn't allow the user's token to call it, follow the steps for your
1327connection path. They can also bring back the model menu when messages work
1328without it.
1329 
1330On Foundry direct and on gateways that use the `anthropic` format, the menu
1331can also appear while the selected model fails, with the same errors. Choose
1332another model in the menu. On Foundry direct, the menu shows what the add-in
1333found when the user signed in, so a deployment removed since then stays in
1334it until the user signs in again.
1335 
1336#### Fix a gateway that uses the `anthropic` format
1337 
1338These steps are for your IT team.
1339 
1340**1. Choose a model ID that Outlook accepts**
1341 
1342Serve Claude Opus 4.7 as `claude-opus-4-7`, as in the
1343[LiteLLM examples](#example-gateway-configuration-with-litellm), or
1344another supported model under its Anthropic model ID, such as
1345`claude-opus-5`. If your gateway uses its own alias, the alias must
1346include the Anthropic model ID of the supported model that it routes to,
1347such as `prod-claude-opus-4-8` or `claude-sonnet-5-eu`. An alias with no
1348version in it, such as `claude-opus` or `claude-latest`, or with the
1349version written another way, such as `claude-opus-4.8`, doesn't work in
1350Outlook.
1351 
1352**2. Serve and list the model**
1353 
1354Add the model to the gateway under that ID, and list the ID in the
1355response to `GET /v1/models` for your users' tokens. Outlook ignores a
1356model ID that appears only in the `available_models` key in your manifest
1357or bootstrap response.
1358 
1359If `GET /v1/models` fails, fix that first, because sign-in stops with an
1360error. If it succeeds but can't include any Claude models, serve Claude
1361Opus 4.7 as `claude-opus-4-7` if you can. For a user who is already signed
1362in, Outlook then usually sends messages to that ID, and they work without
1363the model menu and without a log-out. A user who signs in later has to
1364enter that ID on the "Enter model name" screen, so give it to them.
1365 
1366If you can't serve that ID, serve another supported model under its exact
1367Anthropic model ID and give that ID to users who sign in later. For users
1368who are already signed in, see the paragraphs after these steps.
1369 
1370**3. Allow your users' tokens to call the model**
1371 
1372If the gateway limits each key or team to a list of models, add the
1373model ID to that list.
1374 
1375**4. Reopen the Claude pane**
1376 
1377Check that `GET /v1/models` answers a user's token successfully within
13785 seconds, because the model menu needs that answer. Then ask each Outlook
1379user to close the Claude pane, select an email, and select the
1380[Claude button](https://claude.com/docs/office-agents/outlook.md#install-for-yourself) again. The
1381add-in reads the gateway's model list each time the pane loads, so a
1382change to that list doesn't need a log-out. If the gateway now lists the
1383model and the menu still doesn't appear, ask the user to restart Outlook,
1384or to reload the page in Outlook on the web.
1385 
1386If `GET /v1/models` can't include any Claude models and the `model` line of a
1387user's failed message shows an ID that the gateway doesn't serve, that user
1388has to enter a model ID, which takes a new sign-in. First confirm that the
1389gateway serves a model that Outlook supports under that model's exact
1390Anthropic model ID, such as Claude Opus 4.7 as `claude-opus-4-7`. The add-in
1391doesn't test that ID at sign-in, so a wrong ID shows up only when a message
1392fails.
1393 
1394Then tell the user that logging out deletes their saved Outlook conversations,
1395their writing style, and what Claude has learned about their writing, as
1396described in
1397[Change or update your gateway connection](#change-or-update-your-gateway-connection).
1398Ask them to log out, sign in again, and enter that ID on the "Enter model
1399name" screen.
1400 
1401#### Fix a Foundry direct connection
1402 
1403These steps are for your IT team.
1404 
1405**1. Deploy a supported model under its default name**
1406 
1407In Azure AI Foundry, deploy a supported model and keep its default
1408deployment name, which is one of the following:
1409 
1410* `claude-opus-4-7`
1411* `claude-opus-4-8`
1412* `claude-opus-5`
1413* `claude-opus-5-5`
1414* `claude-sonnet-5`
1415* `claude-sonnet-5-5`
1416 
1417See
1418[Claude in Microsoft Foundry](https://platform.claude.com/docs/en/build-with-claude/claude-in-microsoft-foundry)
1419for where each model is hosted. Outlook ignores a deployment with any
1420other name, even if the `available_models` key in your manifest or
1421bootstrap response lists it. A deployment's name can't be changed, so if
1422yours has a custom name, create a new deployment.
1423 
1424**2. Sign in again**
1425 
1426The add-in checks which models are deployed only when it connects. Ask
1427each Outlook user to send a message first, choosing another model if the
1428menu is there. If it works and they don't need the menu, they can skip
1429this step. Anyone else needs a new sign-in. Logging out deletes their
1430saved Outlook conversations, their writing style, and what Claude has
1431learned about their writing, so tell them that first. Then ask them to log
1432out and sign in again, as described in
1433[Change or update your gateway connection](#change-or-update-your-gateway-connection).
1434 
1435#### Fix Bedrock, Vertex AI, and gateways in those formats
1436 
1437On Bedrock direct, Vertex AI direct, and gateways that use
1438`gateway_api_format: bedrock` or `vertex`, the add-in uses a built-in model
1439list, so Outlook shows the model menu. If the selected model fails, choose
1440another in the menu. If every model fails, confirm that at least one of the
1441models in the menu is enabled in the account or project that serves your
1442requests and, on a gateway, that the gateway routes that model's ID. Then
1443choose that model in the menu.
12091444 
12101445### Streaming responses fail or hang
12111446 
Feedback