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

Claude Code v2.1.329 ·

Pinned Microsoft Foundry keys are refused away from their own resource

Claude Code now checks that a pinned Microsoft Foundry key is only sent to its own resource, in normal sessions and in the eval environment

Group of 2 You'll notice Improvements
JSON All of v2.1.329
You'll noticeTier: how much it should matter to you
2Useful: my rating, 1 to 5
2Signal: worth watching, 1 to 5
ElsewhereArea: what it touches
ImprovementsKind: in v2.1.329,
ImprovementsSection of the release

Unclear Exactly when the check refuses a key is not clear.

What

Microsoft Foundry is one of the cloud services Claude Code can send requests through. ANTHROPIC_FOUNDRY_RESOURCE names the Foundry resource, and ANTHROPIC_FOUNDRY_BASE_URL gives its full address instead. A new check stops a key that is pinned, meaning tied, to one resource from being used against another.

  • Normal sessions: when ANTHROPIC_FOUNDRY_RESOURCE is set and no Entra token provider (Microsoft's sign-in system) is in use, Claude Code calls refusePinnedFoundryKeyOffItsResource. The same check also wraps the token provider.
  • Eval environment: when Claude Code builds the separate environment for an eval child process, it checks ANTHROPIC_FOUNDRY_RESOURCE and ANTHROPIC_FOUNDRY_BASE_URL through pinnedFoundryKeyRefusal. If the check refuses, a set of credential environment variables is dropped.

Why

If you use Microsoft Foundry and set both a key and a resource, a mismatched setup is now refused instead of sending the key somewhere it does not belong. If requests start failing after this release, check that your key matches the resource or address you have configured.

Read from
Names in the bundleANTHROPIC_FOUNDRY_RESOURCE
How sure we are
Something disagreesSomething we can check disagrees with this entry, or the writer said they could not settle it.
The writer flagged doubtExactly when the check refuses a key is not clear.

See this entry in the whole of v2.1.329 →

Feedback