claude-in-microsoft-foundry changedbuild-with-claude/claude-in-microsoft-foundry
Nearest release: v2.1.304, published under an hour after this site recorded the change. Shown because the two are within 24 hours of each other. Nothing here says the release caused the edit.
Recorded here
Lines+20added
Lines−17removed
From line
219
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 219, old and new numbered
/
from line 219
219219 --base-url https://example-resource.services.ai.azure.com/anthropic \
220220 --model claude-opus-5-5 \
221221 --max-tokens 1024 \
222 --message '{role: user, content: "Hello!"}' \
223 --transform content
222 --message '{role: user, content: "Hello!"}'
224223 ```
225224
226225 ```python Python
from line 400
401400
402401<CodeGroup>
403402 ```bash cURL
404 # Get Microsoft Entra ID token
405 ACCESS_TOKEN=$(az account get-access-token --resource https://ai.azure.com --query accessToken -o tsv)
406
407 # Make request with token. Replace {resource} with your resource name
403 # Make a request with a Microsoft Entra ID token. Replace {resource} with your resource name
408404 curl https://{resource}.services.ai.azure.com/anthropic/v1/messages \
409405 -H "content-type: application/json" \
410 -H "Authorization: Bearer $ACCESS_TOKEN" \
406 -H "Authorization: Bearer $(az account get-access-token --resource https://ai.azure.com --query accessToken -o tsv)" \
411407 -H "anthropic-version: 2023-06-01" \
412408 -d '{
413409 "model": "claude-opus-5-5",
from line 415
419415 ```
420416
421417 ```bash CLI
422 # Get Microsoft Entra ID token
423 ACCESS_TOKEN=$(az account get-access-token --resource https://ai.azure.com --query accessToken -o tsv)
424
425 # Make request with token. Replace {resource} with your resource name
418 # Make a request with a Microsoft Entra ID token. Replace {resource} with your resource name
426419 # env -u unsets ANTHROPIC_API_KEY, which the CLI would send instead of the token
427 env -u ANTHROPIC_API_KEY ANTHROPIC_AUTH_TOKEN="$ACCESS_TOKEN" ant messages create \
428 --base-url https://{resource}.services.ai.azure.com/anthropic \
429 --model claude-opus-5-5 \
430 --max-tokens 1024 \
431 --message '{role: user, content: "Hello!"}'
420 env -u ANTHROPIC_API_KEY \
421 ANTHROPIC_AUTH_TOKEN="$(az account get-access-token --resource https://ai.azure.com --query accessToken -o tsv)" \
422 ant messages create \
423 --base-url https://{resource}.services.ai.azure.com/anthropic \
424 --model claude-opus-5-5 \
425 --max-tokens 1024 \
426 --message '{role: user, content: "Hello!"}'
432427 ```
433428
434429 ```python Python
from line 705
710705</Info>
711706
712707<Tip>
713 Upgrading to a newer Claude model? In Claude Code, run `/claude-api migrate` to apply model ID swaps and breaking parameter changes across your codebase. The skill detects which cloud platform your code targets and adjusts model ID formats and feature changes for that platform. See [Migrating to a newer Claude model](https://platform.claude.com/docs/en/agents-and-tools/agent-skills/claude-api-skill#migrating-to-a-newer-claude-model).
708 Upgrading to a newer Claude model? The [Claude API skill](https://platform.claude.com/docs/en/agents-and-tools/agent-skills/claude-api-skill#migrating-to-a-newer-claude-model) in Claude Code applies model ID swaps and breaking parameter changes across your code base:
709
710 Let Claude Code migrate your code for you
711
712 ```text
713 /claude-api migrate this project to the latest Claude Opus model
714 ```
715
716 The skill detects which cloud platform your code targets and adjusts model ID formats and feature changes for that platform.
714717</Tip>
715718
716719## Billing
No line in this hunk matches that.