Trending issue with Distributed Cache and July 2026

UPDATE: This issue is fixed by the August 2026 updates.

The July 2026 update was released July 14, 2026. This introduced many security fixes but this can cause issues with your SAML, OIDC, or FBA implementations. This can prevent tokens from being added or read from dcache.

Here are some logs from my 2019 farm:
07/18/2026 12:18:03.74 w3wp.exe (0x0FF8) 0x1914 SharePoint Foundation DistributedCache air38 Medium Token Cache: Failed to add token from distributed cache. Key: ‘0e.t|microsoftentratrust|user1@TestTestTest.onmicrosoft.com’, Exception: ‘System.NotSupportedException: Specified method is not supported. at Microsoft.SharePoint.IdentityModel.SPTokenCache.NotSupportedCookieTransform.Encode(Byte[] value) at Microsoft.IdentityModel.Tokens.SessionSecurityTokenHandler.ApplyTransforms(Byte[] cookie, Boolean outbound) at Microsoft.IdentityModel.Tokens.SessionSecurityTokenHandler.WriteToken(XmlWriter writer, SecurityToken token) at Microsoft.IdentityModel.Tokens.SecurityTokenSerializerAdapter.WriteTokenCore(XmlWriter writer, SecurityToken token) at Microsoft.SharePoint.Administration.Claims.SPTokenCacheEntry.SerializeToken(SecurityTokenSerializer tokenSerializer) at Microsoft.SharePoint.IdentityModel.SPDistributedSecurityTokenCache.Put(String key, Object value) at Microsoft.SharePoint.IdentityModel.SPTokenCache.AddCachedTokenV1(String cachekey, SPTokenCacheEntry value)’. 908628a2-2a7c-10e3-545f-1f5de6df25d3

07/18/2026 12:18:03.74 w3wp.exe (0x0FF8) 0x1914 SharePoint Foundation DistributedCache air39 Medium Token Cache: Reverting to local cache to Add the token. Key: ‘0e.t|microsoftentratrust|user1@TestTestTest.onmicrosoft.com’. 908628a2-2a7c-10e3-545f-1f5de6df25d3

Log entry from SPSE:
07/23/2026 14:34:31.14 w3wp.exe (0x6128) 0x2814 SharePoint Foundation DistributedCache aa6e6 Unexpected Unexpected error in ByteArrayToObject – Exception ‘System.NotSupportedException: Specified method is not supported. at Microsoft.SharePoint.IdentityModel.SPSessionSecurityTokenHandlerV2.ReadToken(XmlReader reader) at System.IdentityModel.Tokens.SecurityTokenHandlerCollection.ReadToken(XmlReader reader) at Microsoft.SharePoint.Administration.Claims.SPTokenCacheEntry..ctor(SerializationInfo info, StreamingContext context) at ReadSPTokenCacheEntryFromXml(XmlReaderDelegator , XmlObjectSerializerReadContext , XmlDictionaryString[] , XmlDictionaryString[] ) at System.Runtime.Serialization.ClassDataContract.ReadXmlValue(XmlReaderDelegator xmlReader, XmlObjectSerializerReadContext context) at System.Runtime.Serialization.XmlObjectSerializerReadContext.InternalDeserialize(XmlReaderDelegator reader, String name, String ns, Type declaredType, DataContract& dataContract) at System.Runtime.Serialization.XmlObjectSerializerReadContext.InternalDeserialize(XmlReaderDelegator xmlReader, Type declaredType, DataContract dataContract, String name, String ns) at System.Runtime.Serialization.DataContractSerializer.InternalReadObject(XmlReaderDelegator xmlReader, Boolean verifyObjectName, DataContractResolver dataContractResolver) at System.Runtime.Serialization.XmlObjectSerializer.ReadObjectHandleExceptions(XmlReaderDelegator reader, Boolean verifyObjectName, DataContractResolver dataContractResolver) at System.Runtime.Serialization.XmlObjectSerializer.ReadObject(XmlDictionaryReader reader) at Microsoft.SharePoint.DistributedCaching.SPDistributedCacheUtils.ByteArrayToObject[T](Byte[] Buffer)’.

The PG is currently investigating the issue above and hoping to get a fix sooner than later. I would suggest using sticky sessions or persistence at your NLB. Failing to read a token from the dcache will fall back to the local cache(the STS). If the request hits a different WFE than the one you and the token is unable to be located (dcache and local), SharePoint invalidates the clients FedAuth cookie and makes them reauthenticate.

SharePoint WFM versions and Download links

I will be updating this post as the updates for SPWFM (SharePoint Workflow Manager) are released. Make sure to upload the SPWFM Client on the same version on all SPWFM and SharePoint servers.

Release DateBuild VersionKB NumberKB LinkDownload LinkClient Download
October 13, 202616.0.20326.201905002926October 13, 2026, update for SharePoint Workflow Manager (KB5002926) | Microsoft SupportDownload Update for Microsoft SharePoint Workflow Manager (KB5002926) from Official Microsoft Download CenterSharePoint Workflow Manager Client (16.0.20326.20190)
August 11, 202616.0.19725.205225002864August 11, 2026, update for SharePoint Workflow Manager (KB5002864) | Microsoft SupportDownload Update for Microsoft SharePoint Workflow Manager (KB5002864) from Official Microsoft Download CenterSharePoint Workflow Manager Client (16.0.19725.20522)
April 14, 202616.0.19725.202105002844April 14, 2026, update for SharePoint Workflow Manager (KB5002844) – Microsoft SupportDownload Update for Microsoft SharePoint Workflow Manager (KB5002844) from Official Microsoft Download CenterSharePoint Workflow Manager Client (16.0.19725.20210)​​​​​​​
Feb 10, 202616.0.19127.205065002814February 10, 2026, update for SharePoint Workflow Manager (KB5002814) – Microsoft SupportDownload the update for Microsoft SharePoint Workflow Manager (KB5002814)​​​​​​​.SharePoint Workflow Manager Client (16.0.19127.20336)​​​​​​​
Nov 11, 202516.0.19127.203365002799November 11, 2025, update for SharePoint Workflow Manager (KB5002799)Download Update for Microsoft SharePoint Workflow Manager (KB5002799)SharePoint Workflow Manager Client (16.0.19127.20336)​​​​​​​
Oct 14, 202516.0.19127.202625002785October 14, 2025, update for SharePoint Workflow Manager (KB5002785)Download Update for Microsoft SharePoint Workflow Manager (KB5002785)SharePoint Workflow Manager Client (16.0.19127.20262)​​​​​​​
Aug 12, 202516.0.18526.205185002750August 12, 2025, update for SharePoint Workflow Manager (KB5002750)Download Update for Microsoft SharePoint Workflow Manager (KB5002750)SharePoint Workflow Manager Client (16.0.18526.20518)
Jun 10, 202516.0.18526.203625002737June 10, 2025, update for SharePoint Workflow Manager (KB5002737)Download Update for Microsoft SharePoint Workflow Manager (KB5002737)SharePoint Workflow Manager Client (16.0.18526.20362)​​​​​​​
May 13, 202516.0.18526.203165002726May 13, 2025, update for SharePoint Workflow Manager (KB5002726)Download Update for Microsoft SharePoint Workflow Manager (KB5002726)SharePoint Workflow Manager Client (16.0.18526.20316)​​​​​​​
RTM16.0.15601.20418Download SharePoint Workflow Manager