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
On this page
Latest version 8.25.0, released December 2, 2026.
Packages on NuGet run on .NET. .NET end of life dates.
microsoft.identitymodel.tokens 8.0.0 breaking changes
- Removed
CollectionUtilities.IsNullOrEmpty
CollectionUtilities.IsNullOrEmpty is no longer public; code using it must provide its own implementation. github.com - Removed
Microsoft.IdentityModel.Tokens.CollectionUtilities
Microsoft.IdentityModel.Tokens.CollectionUtilities was removed in Microsoft.IdentityModel.Tokens 8.0.0 nuget.org - 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 - Behavior changed
ConfigurationManager.GetConfigurationAsync
ConfigurationManager.GetConfigurationAsync is now a virtual method, which may affect derived classes that override it. github.com - Behavior changed
OpenIdConnectConfiguration
Byte arrays in JSON tokens are serialized as base64 strings again, matching the 6.x behavior. github.com - Behavior changed
ValidateIssuerSigningKey
ValidateIssuerSigningKey no longer uses AadIssuerValidator.GetTenantIdFromToken and only considers tid; an AppContext switch restores the old behavior. github.com
microsoft.identitymodel.tokens 8.0.0-preview1 breaking changes
- Removed
AppContext.SetSwitch
AppContext.SetSwitch switches from 7x have been removed and their behavior is now the default in 8x. github.com - 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 - Removed
Microsoft.IdentityModel.ManagedKeyVaultSecurityKey
The Microsoft.IdentityModel.ManagedKeyVaultSecurityKey package was removed because it used ADAL; use Microsoft.Identity.Web instead. github.com - Behavior changed
IdentityModel 8x no longer supports .net461; users on that framework must move to a supported target. github.com
microsoft.identitymodel.tokens 7.0.0 breaking changes
- Removed
Microsoft.IdentityModel.Tokens.CaseSensitiveClaimsIdentity
Microsoft.IdentityModel.Tokens.CaseSensitiveClaimsIdentity was removed in Microsoft.IdentityModel.Tokens 7.0.0 nuget.org - Removed
Microsoft.IdentityModel.Tokens.DeflateCompressionProvider.MaximumDeflateSize
Microsoft.IdentityModel.Tokens.DeflateCompressionProvider.MaximumDeflateSize was removed in Microsoft.IdentityModel.Tokens 7.0.0 nuget.org - Removed
Microsoft.IdentityModel.Tokens.JsonWebKey.ShouldSerializeKeyOps
Microsoft.IdentityModel.Tokens.JsonWebKey.ShouldSerializeKeyOps was removed in Microsoft.IdentityModel.Tokens 7.0.0 nuget.org - Removed
Microsoft.IdentityModel.Tokens.JsonWebKey.ShouldSerializeX5c
Microsoft.IdentityModel.Tokens.JsonWebKey.ShouldSerializeX5c was removed in Microsoft.IdentityModel.Tokens 7.0.0 nuget.org - Removed
Microsoft.IdentityModel.Tokens.JsonWebKeyParameterNames.R
Microsoft.IdentityModel.Tokens.JsonWebKeyParameterNames.R was removed in Microsoft.IdentityModel.Tokens 7.0.0 nuget.org - Removed
Microsoft.IdentityModel.Tokens.JsonWebKeyParameterNames.T
Microsoft.IdentityModel.Tokens.JsonWebKeyParameterNames.T was removed in Microsoft.IdentityModel.Tokens 7.0.0 nuget.org - 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 - 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
microsoft.identitymodel.tokens 7.0.0-preview5 breaking changes
- Signature changed
AadIssuerValidator
AadIssuerValidator returns ValueTask<string> instead of Task<string>, so code that consumes the returned task must be updated. github.com
microsoft.identitymodel.tokens 7.0.0-preview3 breaking changes
- 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
microsoft.identitymodel.tokens 7.0.0-preview 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 - Removed
JwtSecurityTokenConverter
The JwtSecurityTokenConverter type is removed in 7.0.0-preview. github.com
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The 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.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.