Follow Discord
Sweep 24 Nov 2026 · 22:58Z Build v2.1.332 549 read Stable v2.1.326 Latest v2.1.332 Next v2.1.332 Feeds RSS JSON llms.txt llms-full.txt Unofficial
One change · claude-docs

Connect to Microsoft 365 changedthird-party/claude-desktop/connectors-m365

Nearest release: v2.1.332, published 4 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 24 Nov 2026 17:08 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 24 Nov 2026 17:37 UTC.

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

The whole hunk

from line 181, old and new numbered
/
lines
from line 181
181181Keep the limit in place after you create the grants:
182182 
183183* **Fix a failed write action with a per-user grant**: add the missing scope to that user's grant. The admin consent link and the **Grant admin consent for \{your organization}** button on the **M365 MCP Server for Claude** app's **Permissions** page approve the write scopes for every user, even when a permission error points you to them.
184* **Revoke again after tenant-wide consent**: if you use either control to approve a permission Anthropic adds later, repeat [Revoke write scopes on the remote connector](#revoke-write-scopes-on-the-remote-connector) afterward
185* **Script changes to who has write actions**: each grant covers one user and can't target a group. Create a grant when a user gains write actions, and delete it with Microsoft Graph or PowerShell when they lose them.
184* **Revoke again after tenant-wide consent**: if you use the admin consent link or the **Grant admin consent for \{your organization}** button to approve a permission that Anthropic adds later, repeat [Revoke write scopes on the remote connector](#revoke-write-scopes-on-the-remote-connector) afterward.
185* **Use a script to change who has write actions**: each grant covers one user and can't target a group. Create a grant when a user gains write actions, and delete it with Microsoft Graph or PowerShell when they lose them.
186186 
187187#### Require assignment on the connector app
188188 
from line 243
243243 
244244> [!WARNING]
245245>
246> Do not reuse the desktop client app you registered for the remote connector. That app is consented only for the connector's own scope, so its tokens can reach nothing but the connector service. The local-mode app needs Microsoft Graph permissions directly, and adding those to the remote connector app's client ID would let any token minted for it read Microsoft 365 data directly, tenant-wide. Register a separate app dedicated to local mode.
246> Do not reuse the desktop client app you registered for the remote connector. That app is consented only for the connector's own scope, so its tokens can reach nothing but the connector service. The local-mode app needs Microsoft Graph permissions directly, and adding those to the remote connector app's client ID would let any token issued for that client ID read Microsoft 365 data directly, tenant-wide. Register a separate app dedicated to local mode.
247247 
2482481. In **Entra admin center → App registrations → New registration**, set **Name** to `Claude Desktop M365 Local` (or your preferred name) and set **Supported account types** to *Accounts in this organizational directory only*.
2492492. Under **Authentication**, open the **Redirect URI configuration** tab and select **Add redirect URI** (on older versions of the portal, select **+ Add a platform** instead). Choose the **Mobile and desktop applications** card (the Windows, UWP, and Console card, not the iOS / macOS card, which takes a bundle ID rather than a redirect URI). Leave the suggested redirect URIs unchecked, enter `http://localhost` in the **Custom redirect URIs** box, and select **Configure**. This is the standard loopback redirect for desktop apps: during browser sign-in, Microsoft Entra redirects to a listener on the device itself, so the response never leaves the machine. For brokered sign-in on managed devices, also add the per-platform broker redirect URI shown under [How users sign in](#how-users-sign-in). Add it to the same platform by selecting **Edit** on the **Mobile and desktop applications** section that appears on the Authentication page, rather than adding another platform, and select **Save** at the top when you finish (on older versions of the portal, add the broker URI via the **Add URI** row inside the platform section instead). After you save, Microsoft Entra may display the `msauth` URI under a separate **iOS / macOS** section. That placement is expected.
from line 281
281281| `clientId` | Yes | The Application (client) ID of the local-mode app from step 1. |
282282| `tenantId` | Yes | Your Directory (tenant) ID. |
283283| `azureCloud` | No | `global` (default), `us-gov-high`, or `us-gov-dod`. Selects the Microsoft Entra and Microsoft Graph hosts for GCC High and DoD. |
284| `continuousAccessEvaluation` | No | `enabled` (default) or `disabled`. When enabled, the connector requests Continuous Access Evaluation-capable Microsoft Graph tokens, which live up to about 28 hours and stop working within minutes after an administrator revokes the user's sessions or disables the account in Entra, and, where your tenant enforces an IP named-location or Global Secure Access compliant-network Conditional Access policy, when the token is used from outside that network. `disabled` keeps standard one-hour tokens. A change applies to tokens issued after the connector next starts, and an already-issued token stays in use until it expires (select **Disconnect**, then **Connect**, to sign in again immediately). Requires Claude Desktop 1.49585.0 or later; earlier versions ignore the field and request standard one-hour tokens. |
284| `continuousAccessEvaluation` | No | `enabled` (default) or `disabled`. When enabled, the connector requests Continuous Access Evaluation-capable Microsoft Graph tokens, which live up to about 28 hours. These tokens stop working within minutes after an administrator revokes the user's sessions or disables the account in Entra. Where your tenant enforces an IP named-location or Global Secure Access compliant-network Conditional Access policy, they also stop working when they are used from outside that network. `disabled` keeps standard one-hour tokens. A change applies to tokens issued after the connector next starts, and an already-issued token stays in use until it expires (select **Disconnect**, then **Connect**, to sign in again immediately). Requires Claude Desktop 1.49585.0 or later; earlier versions ignore the field and request standard one-hour tokens. |
285285| `scope` | No | Space-separated delegated Graph scopes to request instead of the default read set. The app rejects an entry that has a `scopes` array, so write the scopes as one string. See [Configure scopes](#configure-scopes). |
286286| `sensitivityLabels` | No | The Microsoft Purview sensitivity labels that the connector blocks. See [Block content by sensitivity label](#block-content-by-sensitivity-label). |
287287| `toolPolicy` | No | Per-tool approval locks, the same as for any managed server. See [`toolPolicy`](https://claude.com/docs/third-party/claude-desktop/configuration#managedmcpservers). |
288288 
289The server ships inside the app, so nothing else needs to be installed on the device, and it activates only from managed configuration; users cannot add it themselves. Deploy the configuration through your device-management tool as usual.
289The server is part of the app, so nothing else needs to be installed on the device, and it activates only from managed configuration; users cannot add it themselves. Deploy the configuration through your device-management tool as usual.
290290 
291291**3. Allow the required network hosts for local mode**
292292 
from line 317
317317| `OnlineMeetings.Read` | Read the user's online meetings |
318318| `offline_access` | Refresh tokens without re-prompting |
319319 
320To request a different set, list scopes in the entry's `scope` field. The connector then requests exactly that list (plus `User.Read` and `offline_access`, which are always included). Use the list to narrow the read surface, to add the optional read scopes, or to add [write scopes](#grant-write-scopes). Whatever you list must also be consented on the app registration from step 1; keep the two lists in sync.
320To request a different set, list scopes in the entry's `scope` field. The connector then requests exactly that list (plus `User.Read` and `offline_access`, which are always included). Use the list to request fewer read scopes, to add the optional read scopes, or to add [write scopes](#grant-write-scopes). Whatever you list must also be consented on the app registration from step 1; keep the two lists in sync.
321321 
322322Six optional read scopes are not in the standard set:
323323 
from line 335
335335 
336336> [!NOTE]
337337>
338> Narrowing or removing `scope` shrinks what the connector requests at the next sign-in, but it does not narrow tokens already obtainable for the registration: Microsoft Entra issues tokens carrying every scope previously consented for the app, regardless of what is requested. To revoke access, remove the consent in Entra under **Enterprise applications → your app → Permissions**.
338> Narrowing or removing `scope` shrinks what the connector requests at the next sign-in, but it does not narrow the tokens that the registration can already obtain: Microsoft Entra issues tokens carrying every scope previously consented for the app, regardless of what is requested. To revoke access, remove the consent in Entra under **Enterprise applications → your app → Permissions**.
339339 
340340The connector provides these read and search tools:
341341 
from line 376
376376 
377377### Block content by sensitivity label
378378 
379You can keep Claude from reading or changing content that carries certain Microsoft Purview sensitivity labels. You add the labels to the local connector's configuration. The connector then checks the label of a file or email before it gives the item to Claude or changes it, and blocks the request if the label is on your list.
379You can keep Claude from reading or changing content that carries certain Microsoft Purview sensitivity labels. You add the labels to the local connector's configuration. The connector then checks the label of a file or email before the connector gives the item to Claude or changes the item, and blocks the request if the label is on your list.
380380 
381381The connector blocks this content when it carries a listed label:
382382 
from line 436
436436The list doesn't block the following:
437437 
438438* **Other file types**: such as text files, images, and archives, whether they're in SharePoint or OneDrive or attached to an email that isn't blocked
439* **Other Microsoft 365 content**: Teams messages, SharePoint site pages, meeting transcripts, and calendar events, even for an invitation that is blocked as an email
439* **Other Microsoft 365 content**: Teams messages, SharePoint site pages, meeting transcripts, and calendar events. A calendar event isn't blocked even when its invitation is blocked as an email.
440440* **Quoted email**: a reply or forward that quotes a blocked email, unless it carries a listed label itself
441441* **Names**: Claude can still see file and attachment names in listings, and file names and email headers, such as the subject and sender, in search results
442442* **Files inside a folder**: when Claude moves, copies, or deletes a folder, the files inside aren't checked
from line 494
494494 
495495The connector's Entra tokens are stored on the device, encrypted by Claude Desktop using the operating system's secure storage. Each configured entry has its own token store, and tokens persist across app restarts so users are not asked to sign in again each session.
496496 
497Selecting **Disconnect** next to the connector signs the user out and deletes its stored tokens. Where the user signed in through the broker, the device's work or school account itself is managed by the operating system and remains after Disconnect; remove the account in Windows Settings (**Accounts → Access work or school**) or macOS Company Portal, or revoke the user's sessions in Entra, to end access entirely. With `continuousAccessEvaluation` at its default of `enabled` on Claude Desktop 1.49585.0 or later, Microsoft Graph rejects the connector's current access token within minutes of the revocation. With `continuousAccessEvaluation` set to `disabled`, or on earlier app versions, revocation takes effect once the current one-hour access token expires.
497Selecting **Disconnect** next to the connector signs the user out and deletes its stored tokens. Where the user signed in through the broker, the device's work or school account itself is managed by the operating system and remains after Disconnect. In that case, to end access entirely, remove the account in Windows Settings (**Accounts → Access work or school**) or macOS Company Portal, or revoke the user's sessions in Entra. With `continuousAccessEvaluation` at its default of `enabled` on Claude Desktop 1.49585.0 or later, Microsoft Graph rejects the connector's current access token within minutes of the revocation. With `continuousAccessEvaluation` set to `disabled`, or on earlier app versions, revocation takes effect once the current one-hour access token expires.
498498 
499499### Audit local connector tool calls
500500 
501501Claude Desktop records each approved tool call to the local Microsoft 365 connector as a `builtin_m365_call` event, and sends it to your [OTLP collector](https://claude.com/docs/third-party/claude-desktop/telemetry.md#sending-telemetry-to-your-own-collector) under the `service.name` value `claude-desktop`. To receive the event, set [`otlpDesktopLogLevel`](https://claude.com/docs/third-party/claude-desktop/configuration#otlpdesktoploglevel) to `info` or `debug` (the default is `error`), then in your collector keep the log records whose body is `builtin_m365_call`. Each record identifies the user as described under [User attribution](https://claude.com/docs/third-party/claude-desktop/telemetry.md#user-attribution).
502502 
503Whatever [`otlpContentCapture`](https://claude.com/docs/third-party/claude-desktop/telemetry#content-capture) is set to, the event carries the tool's name but not its arguments or the text of its result. Its attributes include:
503Whatever [`otlpContentCapture`](https://claude.com/docs/third-party/claude-desktop/telemetry#content-capture) is set to, the event carries the tool's name but not its arguments or the text of its result. The event's attributes include:
504504 
505505* **`m365_tool`**: the tool's name, such as `outlook_email_search`
506506* **`status`**: `ok`, `error`, or `cancelled`, or, when no tool ran, `user_disconnected` (the user isn't signed in to the connector) or `respawn_failed` (the app couldn't start or reach the connector)
Feedback