github Azure/azure-sdk-for-python azure-identity_1.25.0

10 hours ago

1.25.0 (2025-09-11)

Features Added

  • AzureDeveloperCliCredential now supports claims in get_token and get_token_info. (#42568)
  • Added new keyword argument require_envvar to DefaultAzureCredential to enforce the presence of the AZURE_TOKEN_CREDENTIALS environment variable. (#42660)

Bugs Fixed

  • Fixed an issue where AzureDeveloperCliCredential would time out during token requests when azd prompts for user interaction. This issue commonly occurred in environments where the AZD_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 and DeviceCodeCredential) would fail authentication when a specific tenant ID was provided in get_token or get_token_info method calls. (#42721)

Other Changes

  • Updated SharedTokenCacheCredential to raise CredentialUnavailableError instead of ClientAuthenticationError during token refresh failures when within the context of DefaultAzureCredential. (#42934)

Don't miss a new azure-sdk-for-python release

NewReleases is sending notifications on new releases.