Follow Discord
Sweep 22 Oct 2026 · 04:32Z Build v2.1.308 527 read Stable v2.1.308 Latest v2.1.308 Next v2.1.308 Feeds RSS JSON llms.txt llms-full.txt Unofficial
One change · api

claude-in-microsoft-foundry changedbuild-with-claude/claude-in-microsoft-foundry

Nearest release: v2.1.301, published 5 hours before 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+11added
Lines−6removed
From line 31 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 31, old and new numbered
/
lines
from line 31
3131 
3232* An active Azure subscription
3333* Access to the [Foundry portal](https://ai.azure.com/)
34* The [Azure CLI](https://learn.microsoft.com/en-us/cli/azure/install-azure-cli) installed (required for the Entra ID cURL example, optional otherwise)
34* The [Azure CLI](https://learn.microsoft.com/en-us/cli/azure/install-azure-cli) installed (required for the Entra ID cURL and CLI examples, optional otherwise)
3535* An Azure RBAC role that allows you to use the resource, such as **Foundry User** (formerly Azure AI User) or **Cognitive Services User**
3636 
3737## Install an SDK
from line 419
419419 ```
420420 
421421 ```bash CLI
422 # The ant CLI can send a bearer token with --auth-token, but a set
423 # ANTHROPIC_API_KEY environment variable takes precedence over it (the CLI
424 # prints only a console notice), so your request could authenticate with
425 # the wrong credential. For the Entra ID flow, use the cURL example or one
426 # of the SDK examples instead.
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
426 # 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!"}'
427432 ```
428433 
429434 ```python Python
Feedback