Source Intelligence

DisclaimerUnofficial, and not affiliated with Anthropic. Nearly all of this is read straight out of what ships: npm bundles, captured prompts, published docs. Anthropic's own notes go in verbatim, marked as theirs. The rest is my reading, and every entry carries the strings behind it. If one looks wrong, vote it down and say why.

All of v2.0.45 Home All releases olderv2.0.44 v2.0.46newer
Claude Code v2.0.45

Azure AI Foundry Support

What: Claude Code now supports connecting to Claude models deployed on Azure AI Foundry with Azure AD token authentication

How to use:

# Enable Foundry mode
export CLAUDE_CODE_USE_FOUNDRY=true

# Option 1: Use API key authentication
export ANTHROPIC_FOUNDRY_API_KEY=your-api-key
export ANTHROPIC_FOUNDRY_BASE_URL=https://your-resource.services.ai.azure.com/anthropic/

# Option 2: Use resource name (automatically constructs URL)
export ANTHROPIC_FOUNDRY_RESOURCE=your-resource-name

# Option 3: Use Azure AD authentication (no API key needed)
# Azure AD token provider is automatically configured

Details:

  • Supports both API key and Azure AD token provider authentication methods
  • Can specify either a full baseURL or a resource name (which constructs the Azure services URL automatically)
  • Azure AD authentication uses the https://cognitiveservices.azure.com/.default scope
  • For testing/debugging, you can skip authentication with CLAUDE_CODE_SKIP_FOUNDRY_AUTH=true
  • Foundry deployments are now recognized as a first-party environment alongside standard Anthropic deployments
  • Evidence: dsA class at line 202345, Foundry client initialization in xw() at line 243262, environment detection via j3() at line 86382

Related

Other releases about the same thing. Found by shared names or similar wording; neither means one caused the other.

See this entry in the whole of v2.0.45 →