Skip to content

Msft 365 install fixes - #403

Merged
eelia-ant merged 3 commits into
mainfrom
msft-365-install-fixes
Nov 12, 2026
Merged

eelia-ant merged 3 commits into
mainfrom
msft-365-install-fixes

Conversation

@eelia-ant

@eelia-ant eelia-ant commented Nov 12, 2026 •

Copy link
Copy Markdown
Collaborator

claude-for-msft-365-install: allow Bedrock for Outlook; per-user attrs and export wording

  • Allow Amazon Bedrock when building Outlook manifests, and update the setup steps to match.
  • Limit per-user attributes to the eight supported keys, and add the slug rows.
  • Say that the export contains sign-in credentials and that Anthropic cannot restore add-in data.

Bumps the plugin version to 0.1.14.

The add-in accepts aws_role_arn and aws_region on the Outlook host the same
way it does on Excel, Word and PowerPoint, and the public setup docs say so.
Remove the build-manifest.mjs check that exited when aws_* keys were passed
with the outlook host, and the two doc passages (setup.md, manifest.md) that
said Bedrock was not supported for Outlook. The existing rule that
aws_role_arn requires entra_sso=1 still applies.

Two places the wizard now leads an Outlook admin through needed correcting:

- Bedrock step 1b hard-codes Anthropic's app ID as the OIDC provider's
  client ID and the trust policy's aud. When a manifest carries the
  customer's own Entra app (graph_client_id, an option for Outlook),
  the add-in signs in as that app and the ID token's aud is that app's
  client ID, so say to use that ID (or list both), and how to add an ID to
  an existing provider and role.
- Step 6 accepted Claude Sonnet 4.5 / Opus 4.5 or newer. On third-party
  platforms Claude for Outlook supports only Claude Opus 4.7 and later and
  Claude Sonnet 5 and later, and with only older models enabled the add-in
  connects and then fails on every message; say so in Step 1b and Step 6,
  and name the model ids to use in the bedrock- and vertex-format gateway
  checks.

Step 6's Bedrock check also sent the admin to the Bedrock console's
model-access page to look for "Access granted". AWS has retired that page:
serverless models are enabled by default, but Anthropic models need a
one-time use-case form, and each model is subscribed on its first
invocation by an identity with AWS Marketplace permissions, which the
ClaudeBedrockAccess role from step 1b does not have. The check is now
submitting that form if asked and getting a reply from each model in the
console playground, signed in with those permissions, and a second reply
15 minutes later: AWS documents that while the subscription is being
finalized (up to 15 minutes) calls may succeed temporarily, and that if a
prerequisite is missing (for example a valid AWS Marketplace payment
method) later calls fail with AccessDeniedException. The bedrock- and
vertex-format gateway examples now use the exact model ids the add-in
itself sends.

Bumps the plugin to 0.1.14.
…slug rows

Per-user Entra extension attributes: Anthropic's Entra app ("Claude for
Office", c2995f31-...) issues ID-token optional claims for exactly eight
directory extensions: extn.aws_region, aws_role_arn, gateway_token,
gateway_url, gcp_project_id, gcp_region, google_client_id and
google_client_secret, as the public setup docs list. The add-in would read
extn.<key> for any config key, but no other claim is issued, so
update-user-attrs.md's "Any of the config keys can be set per-user", its
table rows for gateway_api_format, inference_headers, bootstrap_url and
the otlp_* keys, bootstrap.md's "Carries" row, manifest.md's "or extension
attrs" for disabled_features and the telemetry keys and its "does not fit"
note for access_policies, access-policies.md's 256-char-cap note, and
setup.md's "Any key can live at either layer" and its Step 5 routing table
promised or implied a channel that does not deliver. Narrow each to the
eight keys on Anthropic's app and point everything else that varies per
user at the bootstrap endpoint. Say in update-user-attrs.md that with a
bring-your-own Entra app (graph_client_id) the token comes from that app,
so the admin registers each key there as a directory extension named as
the config key with an ID-token optional claim (any key except the six the
add-in reads from the manifest only), or uses a bootstrap endpoint.

Template interpolation: the add-in expands {{key}} templates only in the
url and headers of an mcp_servers entry, and a template with no value
makes the add-in skip that connector. bootstrap.md's "Template
interpolation" section, its request line and telemetry example, its
skills table, and manifest.md's "Bootstrap endpoint" paragraph said
bootstrap_url, the otlp_* values and skill names/URLs were interpolated
and that an unresolved template was left as-is; rewrite them to match.
Also note under bootstrap.md's disabled_features and access_policies that
a per-user array replaces the manifest's rather than adding to it.

Slug tables: the access-policies action table listed four slugs and the
manifest disabled_features table five; the add-in also accepts web_search
as an access_policies action and permission_mode.accept_all_edits and
permission_mode.dangerously_always_allow on both keys. Add those rows,
including where users land when both permission slugs are denied. Every
slug can be scoped to the open document (open_file), a feature in an
open_file statement is held off until the document's label has been read
(and stays off if it can't be read), and uploaded_file is evaluated only
for file.upload, so the "Takes a resource?" column, the sentences under
the table and the page's opening list now say so. Also fix the
#mcp-servers anchor in manifest.md's web_search row and the stray "all
eight" in its Keys by cloud note.
…als and that Anthropic cannot restore add-in data

The export scripts copy local storage, which holds the add-in's sign-in
credentials, and the claude-mcp-gateways store, which holds connector
tokens; the docs and script headers said sign-in tokens were not exported.
Say so wherever the docs and script comments describe what local storage
holds, warn in the README, and say that the scripts set no permissions of
their own, so the copy is only as private as the folder it is written to;
the Windows example now writes under the user's profile rather than
directly under C:\, where a new folder is by default readable by every
user of the PC, the macOS example runs under umask 077 so the copy in the
home folder is not readable by other local accounts, and the page says to
move the export off the device before a rebuild or profile cleanup, since
the example paths sit inside the profile being wiped. "No server-side
copy" is replaced by what is true and matters to the reader: Anthropic
does not back up this data and cannot restore it into the add-in. The
"Putting data back" paragraph no longer implies support can recover from
the export folder or that there are steps for loading an export back in,
and points at the published "Restore the earlier store on Windows"
procedure for the case it covers. Wording matches the public "Data storage
and retention" page. Script changes are comments, help text and the
example path only.
@eelia-ant
eelia-ant requested a review from viveknair November 12, 2026 19:06
@eelia-ant
eelia-ant merged commit 3e32c22 into main Nov 12, 2026
3 checks passed
@eelia-ant
eelia-ant deleted the msft-365-install-fixes branch November 12, 2026 19:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants