SharePoint 2013: MicroFeed Web Part throws an exception with SAML based claims users.


Introduction
I am trying SharePoint 2013 social features in a site configured with a third-party Identity Provider to use SAML claims authentication with ADFS.

Scenario
The “User A” logon to its MySite and post a message using the Newsfeed web part. The “User B” logon to its MySite and on the tab “Everything” it clicks on the name of the “User A”. He sees the page “About User A” with the following error: 


Troubleshooting
As first things I searched the error in the ULS logs that show: 

Microsoft.Office.Server.Social.SPSocialFeedManager.GetFeedFor: Microsoft.Office.Server.Social.SPSocialException: The target of the operation was not found.
at Microsoft.Office.Server.Social.SPSocialFeedManager.<>c__DisplayClass2f.<GetFeedFor>b__2d()
at Microsoft.Office.Server.Social.SPSocialUtil.InvokeWithExceptionTranslation[T](ISocialOperationManager target, String name, Func`1 func)

Later I tried the same scenario with a user logged with NTLM autenthication:

  • If the NTLM user clicks on the name of a SAML users the issue is reproduced.
  • If the NTLM user clicks on the name of an NTLM users the issue does not appears.

So, I tryed to reproduce the error on another environment and the issue appears again.

To reprocude the issue you need a SharePoint 2013 farm configured with the MySites: http://technet.microsoft.com/en-us/library/ee624362.aspx and an Identity Provider to use SAML claims authentication with ADFS configured: http://technet.microsoft.com/en-us/library/hh305235.

After a research I discovered there is a fix in the June 2013 CU of SP2013 that appears to solve this issue:

“When you add some threads to the MicroFeed Web Part on a SharePoint Server 2013 site page, other people cannot see your name and profile picture in the threads that you posted on. This problems occurs when the site page uses third-party claims authentication tool such as SAML 1.1.”

Solution
I downloaded and installed the the June 2013 CU: http://support.microsoft.com/kb/2817414
After a lot of time spent waiting the installation completes I tried again and now the issue is resolved: 


In conclusion, ensure do you have always installed latest software updates.

Advertisements
Tagged with: , , , , ,
Posted in SharePoint

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: