{"version":"2.0.45","anchor":"azure-ai-foundry-support","canonical_anchor":"azure-ai-foundry-support","heading":"Azure AI Foundry Support","tier":null,"area":null,"scope":null,"heads_up":null,"url":"https:\/\/changelogs.core-directive.com\/v\/2.0.45\/e\/azure-ai-foundry-support","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.0.45","markdown":"### Azure AI Foundry Support\n\n**What:** Claude Code now supports connecting to Claude models deployed on Azure AI Foundry with Azure AD token authentication\n\n**How to use:**\n\n`# 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:**\n\n- Supports both API key and Azure AD token provider authentication methods\n- Can specify either a full `baseURL` or a `resource` name (which constructs the Azure services URL automatically)\n- Azure AD authentication uses the `https:\/\/cognitiveservices.azure.com\/.default` scope\n- For testing\/debugging, you can skip authentication with `CLAUDE_CODE_SKIP_FOUNDRY_AUTH=true`\n- Foundry deployments are now recognized as a first-party environment alongside standard Anthropic deployments\n- **Evidence**: `dsA class at line 202345`, Foundry client initialization in `xw() at line 243262`, environment detection via `j3() at line 86382`"}