Trending Issue: SP2016 – Aggregated newsfeeds are failing to load after installation of the November 2023 CU or newer

After installing November 2023 CU (or later) for SharePoint Server 2016 Aggregated Newsfeeds are broken.

Symptoms:
Affected Users will see an empty Newsfeed web part.

In the ULS log see the following error in ULS after installing November 2023 CU or later:

Unexpected exception in FeedCacheService.GetConsolidatedFeed: Unable to cast object of type 'System.Collections.Generic.List`1[System.Collections.Generic.KeyValuePair`2[System.String,System.Object]]' to type 'System.Collections.Generic.IEnumerable`1[System.Collections.Generic.KeyValuePair`2[System.String,System.Byte[]]]

Custom solutions calling the REST endpoint _api/social.feed/My/News or equivalent CSOM calls will fail with this error message:

The operation failed because the server could not access the distributed cache.
Internal type name: Microsoft.Office.Server.Microfeed.MicrofeedException. Internal error code: 56

Workaround/Solution:
There is currently no workaround or solution for this issue.
The issue is currently under investigation.

11 Comments


  1. Hello Stefan

    We have encountered the same problems for Sharepoint 2019 with the CU December 2023.

    Is it correct that it be replayed in 2019?

    Thank you so much.

    Greetings.

    Reply

    1. Hi Juan, afaik no. If you have such a case, please open a ticket to get this analyzed.

      Cheers,
      Stefan

      Reply

  2. Hi Stefan

    Will this affect SharePoint 2016 sites with the Site Feed web part as well?

    Thank you

    Reply

    1. Hi Sol, this only affects the aggregated newsfeed – not site feeds.

      Cheers,
      Stefan

      Reply

  3. Thank you, Stefan.

    Just to confirm, Site Feed is the feature and Newsfeed is the actual web part and the Site Feed/Newsfeed web part wouldn’t be impacted by this issue, correct?

    Reply

    1. Hi Sol,

      affected is the aggregated newsfeed – not the web part and not the site feed.

      Cheers,
      Stefan

      Reply

  4. Hi Stefan,

    after isntalling update Februari 2024 for sharepoint 2016, we’ve got a lot of errors (81.000 per day) from the distrubuted cache. The error is:

    Unexpected error occurred in method ‘GetObjectsInRegion’ , usage ‘SharedAccessCache’ – Exception ‘System.InvalidCastException: Unable to cast object of type ‘Microsoft.ApplicationServer.Caching.EnumerableCacheObjects’ to type ‘System.Collections.Generic.IEnumerable1[System.Collections.Generic.KeyValuePair2[System.String,System.Byte[]]]’. at Microsoft.SharePoint.DistributedCaching.SPDistributedCache.GetObjectsInRegion[T](String regionName)’.

    Is this error related to this issue?

    Reply

    1. Hi Andre,
      it seems to be the same issue.
      The fix for the issue discussed in this article is included in March 2024 CU which was released yesterday.
      Cheers,
      Stefan

      Reply

      1. Ok Stefan, thank you!

        Reply

  5. Hi Stefen,

    Does this affects news rendering on _layouts/15/sharepoint.aspx page? We have SharePoint 2019 and facing similar issue where none of the news items are appearing and after recreating MySite host, sometime it shows very few news items and those are particularly most of the time of type “Trending”.

    Reply

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.