1.25.0 (2025-09-11)
Features Added
AzureDeveloperCliCredential
now supportsclaims
inget_token
andget_token_info
. (#42568)- Added new keyword argument
require_envvar
toDefaultAzureCredential
to enforce the presence of theAZURE_TOKEN_CREDENTIALS
environment variable. (#42660)
Bugs Fixed
- Fixed an issue where
AzureDeveloperCliCredential
would time out during token requests whenazd
prompts for user interaction. This issue commonly occurred in environments where theAZD_DEBUG
environment variable was set, causing the Azure Developer CLI to display additional prompts that interfered with automated token acquisition. (#42535) - Fixed an issue where credentials configured with a default tenant ID of "organizations" (such as
InteractiveBrowserCredential
andDeviceCodeCredential
) would fail authentication when a specific tenant ID was provided inget_token
orget_token_info
method calls. (#42721)
Other Changes
- Updated
SharedTokenCacheCredential
to raiseCredentialUnavailableError
instead ofClientAuthenticationError
during token refresh failures when within the context ofDefaultAzureCredential
. (#42934)