Update dependency Azure.Identity to 1.16.0 #1244
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
1.15.0
->1.16.0
Release Notes
Azure/azure-sdk-for-net (Azure.Identity)
v1.16.0
Compare Source
1.16.0 (2025-09-09)
Features Added
DefaultAzureCredential
constructor that accepts a custom environment variable name for credential configuration. This provides flexibility beyond the defaultAZURE_TOKEN_CREDENTIALS
environment variable. The constructor accepts any environment variable name and uses the same credential selection logic as the existingAZURE_TOKEN_CREDENTIALS
processing.DefaultAzureCredential.DefaultEnvironmentVariableName
constant property that returns"AZURE_TOKEN_CREDENTIALS"
for convenience when referencing the default environment variable name.AzureCliCredential
,AzurePowerShellCredential
, andAzureDeveloperCliCredential
now throw anAuthenticationFailedException
when theTokenRequestContext
includes claims, as these credentials do not support claims challenges. The exception message includes guidance for handling such scenarios.AZURE_TOKEN_CREDENTIALS
or the equivalent custom environment variable is configured toManagedIdentityCredential
, theDefaultAzureCredential
does not issue a probe request and performs retries with exponential backoff.Bugs Fixed
AzureDeveloperCliCredential
hanging when theAZD_DEBUG
environment variable is set by adding the--no-prompt
flag to prevent interactive prompts (#52005).BrokerCredential
is now included in the chain whenAZURE_TOKEN_CREDENTIALS
is set todev
.DefaultAzureCredential
that caused the credential chain to be constructed incorrectly when using AZURE_TOKEN_CREDENTIALS in combination withDefaultAzureCredentialOptions
.Other Changes
BrokerCredential
is now always included in theDefaultAzureCredential
chain. If theAzure.Identity.Broker
package is not referenced, an exception will be thrown whenGetToken
is called, making its behavior consistent with the rest of the credentials in the chain.Microsoft.Identity.Client
dependency to version 4.76.0.Microsoft.Identity.Client.Extensions.Msal
dependency to version 4.76.0.Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Renovate Bot.
Commands to ignore dependencies
You can trigger dependency actions by commenting on this PR:
@particularbot ignore this major version
@particularbot ignore this minor version
@particularbot ignore this dependency