microsoft.identitymodel.protocols breaking changes
microsoft.identitymodel.protocols 8.0.0 (July 16, 2024) is its newest release with breaking changes, 5 of them. The first: Removed CollectionUtilities.IsNullOrEmpty. Every breaking API change we have recorded in microsoft.identitymodel.protocols on NuGet: 15 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.
- From 7.0.0-preview5 to 8.0.0: 9 breaking changes in 2 versions.
- From 7.0.0-preview to 8.0.0: 13 breaking changes in 5 versions.
microsoft.identitymodel.protocols 8.0.0 breaking changes
- Removed
CollectionUtilities.IsNullOrEmpty
This method is no longer public. Code that used it must provide its own implementation. github.com - Behavior changed
Byte arrays in JSON tokens are serialized as base64 strings again, matching the 6.x behavior. Code relying on the current output format may need updating. github.com - Behavior changed
ClaimsIdentity
Claim lookup now matches the underlying SecurityToken case-sensitively. Use the new CaseSensitiveClaimsIdentity class, or an AppContext switch to keep the old behavior. github.com - Behavior changed
ValidateIssuerSigningKey
ValidateIssuerSigningKey no longer depends on AadIssuerValidator.GetTenantIdFromToken and only considers tid. An AppContext switch restores the previous behavior. github.com - Signature changed
Microsoft.IdentityModel.Protocols.ConfigurationManager.GetConfigurationAsync
Was System.Threading.Tasks.Task<T> GetConfigurationAsync(System.Threading.CancellationToken cancel); now virtual System.Threading.Tasks.Task<T> GetConfigurationAsync(System.Threading.CancellationToken cancel). nuget.org
microsoft.identitymodel.protocols 8.0.0-preview1 breaking changes
- Removed
IdentityModel 8x no longer supports .net461, which reached end of life. Projects targeting .net461 must move to a supported target framework. github.com - Removed
AppContext.SetSwitch
The AppContext switches from IdentityModel 7x have been removed, and their behavior is now the default. Code that sets them must be removed. github.com - Removed
Microsoft.IdentityModel.KeyVaultExtensions
The package used ADAL, which is no longer supported, and has been removed. Use Microsoft.Identity.Web instead. github.com - Removed
Microsoft.IdentityModel.ManagedKeyVaultSecurityKey
The package used ADAL, which is no longer supported, and has been removed. Use Microsoft.Identity.Web instead. github.com
microsoft.identitymodel.protocols 7.0.0-preview5 breaking changes
- Signature changed
AadIssuerValidator
AadIssuerValidator now returns ValueTask<string> rather than Task<string>. Code that awaits or overrides it must be updated to match. github.com
microsoft.identitymodel.protocols 7.0.0-preview3 breaking changes
- Behavior changed
The package now uses System.Text.Json in place of Newtonsoft.Json, which can change JSON handling for code that relies on Newtonsoft behavior. github.com
microsoft.identitymodel.protocols 7.0.0-preview2 breaking changes
- Behavior changed
JsonWebKey
Reading and writing JsonWebKey and JsonWebKeySet now uses System.Text.Json instead of Newtonsoft, which can change serialized output. github.com - Behavior changed
OpenIdConnectConfiguration
OpenIdConnectConfiguration and OpenIdConnectMessage no longer use Newtonsoft for serialization, which can change serialized output. github.com
microsoft.identitymodel.protocols 7.0.0-preview breaking changes
- Removed
The package no longer builds for net45. Projects that target .NET Framework 4.5 must move to a newer target framework. github.com - Removed
JwtSecurityTokenConverter
JwtSecurityTokenConverter is removed in 7.0.0-preview. Code that uses it must be changed; the release notes give no replacement. 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.