---
title: "azure-identity 1.27.0 Breaking Changes on PyPI | Since.dev"
description: "What each azure-identity release removed, renamed or changed: 21 breaking changes in 8 versions on PyPI, each with its source."
canonical_url: https://since.dev/packages/pypi/azure-identity
last_updated: 2026-12-04
---

# azure-identity breaking changes

azure-identity 1.27.0 (October 26, 2026) is its newest release with breaking changes. The first: Signature changed azure.identity.TokenCachePersistenceOptions.\_\_init\_\_. Every breaking API change we have recorded in azure-identity on PyPI: 21 breaking changes in 8 versions. Below, its 8 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `1.27.1`, released December 1, 2026. [Source repository](https://github.com/Azure/azure-sdk-for-python)

Packages on PyPI run on Python. [Python end of life dates](https://since.dev/calendar/python.md).

- From [1.17.0](#v-1-17-0) to [1.27.0](#v-1-27-0): 18 breaking changes in 7 versions.

## azure-identity 1.27.0 breaking changes

azure-identity 1.27.0, released October 26, 2026: 1 breaking change.

- **Signature changed** `azure.identity.TokenCachePersistenceOptions.__init__`  

Was def \_\_init\_\_(self, \*, allow_unencrypted_storage: bool = False, name: str = 'msal.cache', \*\*kwargs: Any) -> None; now def \_\_init\_\_(self, \*, allow_unencrypted_storage: bool = False, name: str = \_DEFAULT_CACHE_NAME, \*\*kwargs: Any) -> None. [pypi.org](https://pypi.org/project/azure-identity/1.27.0/)

## azure-identity 1.26.0 breaking changes

azure-identity 1.26.0, released October 1, 2026: 2 breaking changes.

- **Behavior changed**  

RequestIdPolicy was added to the default pipeline policies, so every request now carries an x-ms-client-request-id header. Code that inspects or sets outgoing request headers may need to account for it. [github.com](https://github.com/Azure/azure-sdk-for-python/releases/tag/azure-identity%5F1.26.0)
- **Configuration changed**  

The package now requires msal 1.39.0 or later. Environments that pin an older msal version must upgrade it before installing this release. [github.com](https://github.com/Azure/azure-sdk-for-python/releases/tag/azure-identity%5F1.26.0)

## azure-identity 1.25.0 breaking changes

azure-identity 1.25.0, released September 12, 2025: 4 breaking changes.

- **Signature changed** `azure.identity.aio.get_bearer_token_provider`  

Was def get_bearer_token_provider(credential: AsyncTokenCredential, \*scopes: str) -> Callable\[\[\], Coroutine\[Any, Any, str\]\]; now def get_bearer_token_provider(credential: AsyncTokenProvider, \*scopes: str) -> Callable\[\[\], Coroutine\[Any... [pypi.org](https://pypi.org/project/azure-identity/1.25.0/)
- **Signature changed** `azure.identity.DeviceCodeCredential.authenticate`  

Was def authenticate(self, \*, scopes: Optional\[Iterable\[str\]\] = None, claims: Optional\[str\] = None, \*\*kwargs: Any) -> AuthenticationRecord; now def authenticate(self, \*, scopes: Optional\[Iterable\[str\]\] = None, claims: Optional\[str\] = None... [pypi.org](https://pypi.org/project/azure-identity/1.25.0/)
- **Signature changed** `azure.identity.InteractiveBrowserCredential.authenticate`  

Was def authenticate(self, \*, scopes: Optional\[Iterable\[str\]\] = None, claims: Optional\[str\] = None, \*\*kwargs: Any) -> AuthenticationRecord; now def authenticate(self, \*, scopes: Optional\[Iterable\[str\]\] = None, claims: Optional\[str\] = None... [pypi.org](https://pypi.org/project/azure-identity/1.25.0/)
- **Signature changed** `azure.identity.UsernamePasswordCredential.authenticate`  

Was def authenticate(self, \*, scopes: Optional\[Iterable\[str\]\] = None, claims: Optional\[str\] = None, \*\*kwargs: Any) -> AuthenticationRecord; now def authenticate(self, \*, scopes: Optional\[Iterable\[str\]\] = None, claims: Optional\[str\] = None... [pypi.org](https://pypi.org/project/azure-identity/1.25.0/)

## azure-identity 1.24.0 breaking changes

azure-identity 1.24.0, released August 7, 2025: 2 breaking changes.

- **Signature changed** `azure.identity.aio.VisualStudioCodeCredential`  

Was class VisualStudioCodeCredential(\_VSCodeCredentialBase, AsyncContextManager, GetTokenMixin); now class VisualStudioCodeCredential(AsyncContextManager). [pypi.org](https://pypi.org/project/azure-identity/1.24.0/)
- **Signature changed** `azure.identity.VisualStudioCodeCredential`  

Was class VisualStudioCodeCredential(\_VSCodeCredentialBase, GetTokenMixin); now class VisualStudioCodeCredential. [pypi.org](https://pypi.org/project/azure-identity/1.24.0/)

## azure-identity 1.20.0 breaking changes

azure-identity 1.20.0, released February 12, 2025: 1 breaking change.

- **Signature changed** `azure.identity.AzureCliCredential.__init__`  

Was def \_\_init\_\_(self, \*, tenant_id: str = '', additionally_allowed_tenants: Optional\[List\[str\]\] = None, process_timeout: int = 10) -> None; now def \_\_init\_\_(self, \*, tenant_id: str = '', subscription: Optional\[str\] = None... [pypi.org](https://pypi.org/project/azure-identity/1.20.0/)

## azure-identity 1.19.0 breaking changes

azure-identity 1.19.0, released October 8, 2024: 1 breaking change.

- **Removed** `azure.identity.AzureAuthorityHosts.AZURE_GERMANY`  

azure.identity.AzureAuthorityHosts.AZURE_GERMANY was removed in azure-identity 1.19.0 [pypi.org](https://pypi.org/project/azure-identity/1.19.0/)

## Older versions

2 older versions, each with its first changes. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

### azure-identity 1.18.0 breaking changes

azure-identity 1.18.0, released September 19, 2024: 7 breaking changes.

- **Signature changed** `azure.identity.aio.ChainedTokenCredential.__init__`  

Was def \_\_init\_\_(self, \*credentials: AsyncTokenCredential) -> None; now def \_\_init\_\_(self, \*credentials: AsyncTokenProvider) -> None. [pypi.org](https://pypi.org/project/azure-identity/1.18.0/)
- **Signature changed** `azure.identity.aio.ChainedTokenCredential.get_token`  

Was async def get_token(self, \*scopes: str, claims: Optional\[str\] = None, tenant_id: Optional\[str\] = None, \*\*kwargs: Any) -> AccessToken; now async def get_token(self, \*scopes: str, claims: Optional\[str\] = None, tenant_id: Optional\[str\] =... [pypi.org](https://pypi.org/project/azure-identity/1.18.0/)

And 5 more in this version.

### azure-identity 1.17.0 breaking changes

azure-identity 1.17.0, released June 18, 2024: 3 breaking changes.

- **Signature changed** `azure.identity.aio.OnBehalfOfCredential.__init__`  

Was def \_\_init\_\_(self, tenant_id: str, client_id: str, \*, client_certificate: Optional\[bytes\] = None, client_secret: Optional\[str\] = None, user_assertion: str, \*\*kwargs: Any) -> None; now def \_\_init\_\_(self, tenant_id: str, client_id: str... [pypi.org](https://pypi.org/project/azure-identity/1.17.0/)
- **Signature changed** `azure.identity.CertificateCredential.__enter__`  

Was def \_\_enter\_\_(self) -> MsalCredential; now def \_\_enter\_\_(self) -> Self. [pypi.org](https://pypi.org/project/azure-identity/1.17.0/)

And 1 more in this version.

## Related packages

- [azure-batch](https://since.dev/packages/pypi/azure-batch.md)
- [azure-mgmt-batch](https://since.dev/packages/pypi/azure-mgmt-batch.md)
- [azure-mgmt-containerregistry](https://since.dev/packages/pypi/azure-mgmt-containerregistry.md)
- [azure-mgmt-search](https://since.dev/packages/pypi/azure-mgmt-search.md)
- [azure-mgmt-iothub](https://since.dev/packages/pypi/azure-mgmt-iothub.md)
- [azure-mgmt-netapp](https://since.dev/packages/pypi/azure-mgmt-netapp.md)

## Check your code

These are the changes. To see which of them reach your code, [scan a public repository](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#api) reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

## Put your code on continuous maintenance.

Scan a public repository now, or give your agent one line.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
