---
title: "microsoft.identitymodel.tokens 8.0.0 Breaking Changes"
description: "What each microsoft.identitymodel.tokens release removed, renamed or changed: 22 breaking changes in 6 versions on NuGet, each with its source."
canonical_url: https://since.dev/packages/nuget/microsoft.identitymodel.tokens
last_updated: 2026-12-04
---

# microsoft.identitymodel.tokens breaking changes

microsoft.identitymodel.tokens 8.0.0 (July 16, 2024) is its newest release with breaking changes, 6 of them. The first: Removed CollectionUtilities.IsNullOrEmpty. Every breaking API change we have recorded in microsoft.identitymodel.tokens on NuGet: 22 breaking changes in 6 versions. Below, its 6 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `8.25.0`, released December 2, 2026. 

Packages on NuGet run on .NET. [.NET end of life dates](https://since.dev/calendar/dotnet.md).

- From [7.0.0](#v-7-0-0) to [8.0.0](#v-8-0-0): 10 breaking changes in 2 versions.

## microsoft.identitymodel.tokens 8.0.0 breaking changes

microsoft.identitymodel.tokens 8.0.0, released July 16, 2024: 6 breaking changes.

- **Removed** `CollectionUtilities.IsNullOrEmpty`  

CollectionUtilities.IsNullOrEmpty is no longer public; code using it must provide its own implementation. [github.com](https://github.com/AzureAD/azure-activedirectory-identitymodel-extensions-for-dotnet/releases/tag/8.0.0)
- **Removed** `Microsoft.IdentityModel.Tokens.CollectionUtilities`  

Microsoft.IdentityModel.Tokens.CollectionUtilities was removed in Microsoft.IdentityModel.Tokens 8.0.0 [nuget.org](https://www.nuget.org/packages/Microsoft.IdentityModel.Tokens/8.0.0)
- **Behavior changed** `ClaimsIdentity`  

Claim retrieval in derived ClaimsIdentity is now case-sensitive; use CaseSensitiveClaimsIdentity or an AppContext switch to keep the old behavior. [github.com](https://github.com/AzureAD/azure-activedirectory-identitymodel-extensions-for-dotnet/releases/tag/8.0.0)
- **Behavior changed** `ConfigurationManager.GetConfigurationAsync`  

ConfigurationManager.GetConfigurationAsync is now a virtual method, which may affect derived classes that override it. [github.com](https://github.com/AzureAD/azure-activedirectory-identitymodel-extensions-for-dotnet/releases/tag/8.0.0)
- **Behavior changed** `OpenIdConnectConfiguration`  

Byte arrays in JSON tokens are serialized as base64 strings again, matching the 6.x behavior. [github.com](https://github.com/AzureAD/azure-activedirectory-identitymodel-extensions-for-dotnet/releases/tag/8.0.0)
- **Behavior changed** `ValidateIssuerSigningKey`  

ValidateIssuerSigningKey no longer uses AadIssuerValidator.GetTenantIdFromToken and only considers tid; an AppContext switch restores the old behavior. [github.com](https://github.com/AzureAD/azure-activedirectory-identitymodel-extensions-for-dotnet/releases/tag/8.0.0)

## microsoft.identitymodel.tokens 8.0.0-preview1 breaking changes

microsoft.identitymodel.tokens 8.0.0-preview1, released July 16, 2024: 4 breaking changes.

- **Removed** `AppContext.SetSwitch`  

AppContext.SetSwitch switches from 7x have been removed and their behavior is now the default in 8x. [github.com](https://github.com/AzureAD/azure-activedirectory-identitymodel-extensions-for-dotnet/releases/tag/8.0.0-preview1)
- **Removed** `Microsoft.IdentityModel.KeyVaultExtensions`  

The Microsoft.IdentityModel.KeyVaultExtensions and Microsoft.IdentityModel.ManagedKeyVaultSecurityKey packages were removed because they used ADAL; use Microsoft.Identity.Web instead. [github.com](https://github.com/AzureAD/azure-activedirectory-identitymodel-extensions-for-dotnet/releases/tag/8.0.0-preview1)
- **Removed** `Microsoft.IdentityModel.ManagedKeyVaultSecurityKey`  

The Microsoft.IdentityModel.ManagedKeyVaultSecurityKey package was removed because it used ADAL; use Microsoft.Identity.Web instead. [github.com](https://github.com/AzureAD/azure-activedirectory-identitymodel-extensions-for-dotnet/releases/tag/8.0.0-preview1)
- **Behavior changed**  

IdentityModel 8x no longer supports .net461; users on that framework must move to a supported target. [github.com](https://github.com/AzureAD/azure-activedirectory-identitymodel-extensions-for-dotnet/releases/tag/8.0.0-preview1)

## microsoft.identitymodel.tokens 7.0.0 breaking changes

microsoft.identitymodel.tokens 7.0.0, released September 11, 2023: 8 breaking changes.

- **Removed** `Microsoft.IdentityModel.Tokens.CaseSensitiveClaimsIdentity`  

Microsoft.IdentityModel.Tokens.CaseSensitiveClaimsIdentity was removed in Microsoft.IdentityModel.Tokens 7.0.0 [nuget.org](https://www.nuget.org/packages/Microsoft.IdentityModel.Tokens/7.0.0)
- **Removed** `Microsoft.IdentityModel.Tokens.DeflateCompressionProvider.MaximumDeflateSize`  

Microsoft.IdentityModel.Tokens.DeflateCompressionProvider.MaximumDeflateSize was removed in Microsoft.IdentityModel.Tokens 7.0.0 [nuget.org](https://www.nuget.org/packages/Microsoft.IdentityModel.Tokens/7.0.0)
- **Removed** `Microsoft.IdentityModel.Tokens.JsonWebKey.ShouldSerializeKeyOps`  

Microsoft.IdentityModel.Tokens.JsonWebKey.ShouldSerializeKeyOps was removed in Microsoft.IdentityModel.Tokens 7.0.0 [nuget.org](https://www.nuget.org/packages/Microsoft.IdentityModel.Tokens/7.0.0)
- **Removed** `Microsoft.IdentityModel.Tokens.JsonWebKey.ShouldSerializeX5c`  

Microsoft.IdentityModel.Tokens.JsonWebKey.ShouldSerializeX5c was removed in Microsoft.IdentityModel.Tokens 7.0.0 [nuget.org](https://www.nuget.org/packages/Microsoft.IdentityModel.Tokens/7.0.0)
- **Removed** `Microsoft.IdentityModel.Tokens.JsonWebKeyParameterNames.R`  

Microsoft.IdentityModel.Tokens.JsonWebKeyParameterNames.R was removed in Microsoft.IdentityModel.Tokens 7.0.0 [nuget.org](https://www.nuget.org/packages/Microsoft.IdentityModel.Tokens/7.0.0)
- **Removed** `Microsoft.IdentityModel.Tokens.JsonWebKeyParameterNames.T`  

Microsoft.IdentityModel.Tokens.JsonWebKeyParameterNames.T was removed in Microsoft.IdentityModel.Tokens 7.0.0 [nuget.org](https://www.nuget.org/packages/Microsoft.IdentityModel.Tokens/7.0.0)
- **Signature changed** `Microsoft.IdentityModel.Tokens.CompressionProviderFactory.CreateCompressionProvider`  

The signature of Microsoft.IdentityModel.Tokens.CompressionProviderFactory.CreateCompressionProvider changed in Microsoft.IdentityModel.Tokens 7.0.0 [nuget.org](https://www.nuget.org/packages/Microsoft.IdentityModel.Tokens/7.0.0)
- **Signature changed** `Microsoft.IdentityModel.Tokens.JsonWebKey.Oth`  

Was System.Collections.Generic.IList\<string> Oth {get; set;}; now System.Collections.Generic.IList\<string> Oth {get;}. [nuget.org](https://www.nuget.org/packages/Microsoft.IdentityModel.Tokens/7.0.0)

## microsoft.identitymodel.tokens 7.0.0-preview5 breaking changes

microsoft.identitymodel.tokens 7.0.0-preview5, released September 11, 2023: 1 breaking change.

- **Signature changed** `AadIssuerValidator`  

AadIssuerValidator returns ValueTask\<string> instead of Task\<string>, so code that consumes the returned task must be updated. [github.com](https://github.com/AzureAD/azure-activedirectory-identitymodel-extensions-for-dotnet/releases/tag/7.0.0-preview5)

## microsoft.identitymodel.tokens 7.0.0-preview3 breaking changes

microsoft.identitymodel.tokens 7.0.0-preview3, released September 11, 2023: 1 breaking change.

- **Behavior changed**  

JSON serialization now uses System.Text.Json instead of Newtonsoft.Json, which can change how existing code's JSON output and parsing behave. [github.com](https://github.com/AzureAD/azure-activedirectory-identitymodel-extensions-for-dotnet/releases/tag/7.0.0-preview3)

## microsoft.identitymodel.tokens 7.0.0-preview breaking changes

microsoft.identitymodel.tokens 7.0.0-preview, released September 11, 2023: 2 breaking changes.

- **Removed**  

The net45 build target is removed, so projects targeting .NET Framework 4.5 can no longer use this package version. [github.com](https://github.com/AzureAD/azure-activedirectory-identitymodel-extensions-for-dotnet/releases/tag/7.0.0-preview)
- **Removed** `JwtSecurityTokenConverter`  

The JwtSecurityTokenConverter type is removed in 7.0.0-preview. [github.com](https://github.com/AzureAD/azure-activedirectory-identitymodel-extensions-for-dotnet/releases/tag/7.0.0-preview)

## 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.
