Create the app registration that represents the Claude API audience. changedmanage-claude/wif-providers/azure
Nearest release: v2.1.261, 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+8added
Lines−2removed
From line
417
where the diff opens
First seen
14 Aug 2026
this site's first read of the page
Recorded edits20to this page, all time
The whole hunk
from line 417, old and new numbered
/
from line 417
417417 ```
418418
419419 ```csharp C#
420 using Anthropic.Credentials;
421 // ...
422
420423 var credentials = new WorkloadIdentityCredentials(new WorkloadIdentityOptions
421424 {
422425 FederationRuleId = Environment.GetEnvironmentVariable("ANTHROPIC_FEDERATION_RULE_ID")!,
from line 428
425428 WorkspaceId = Environment.GetEnvironmentVariable("ANTHROPIC_WORKSPACE_ID"),
426429 IdentityTokenProvider = new EntraTokenProvider(),
427430 });
428 using var client = new AnthropicOidcClient(credentials);
431 using var client = new AnthropicClient(new ClientOptions { Credentials = credentials });
429432
430433 var message = await client.Messages.Create(new()
431434 {
from line 1020
10171020 ```
10181021
10191022 ```csharp C#
1023 using Anthropic.Credentials;
1024 // ...
1025
10201026 var credentials = new WorkloadIdentityCredentials(new WorkloadIdentityOptions
10211027 {
10221028 FederationRuleId = Environment.GetEnvironmentVariable("ANTHROPIC_FEDERATION_RULE_ID")!,
from line 1031
10251031 WorkspaceId = Environment.GetEnvironmentVariable("ANTHROPIC_WORKSPACE_ID"),
10261032 IdentityTokenProvider = new EntraFederationTokenProvider(),
10271033 });
1028 using var client = new AnthropicOidcClient(credentials);
1034 using var client = new AnthropicClient(new ClientOptions { Credentials = credentials });
10291035
10301036 var message = await client.Messages.Create(new()
10311037 {
No line in this hunk matches that.