kwizcom banner advertisement

People Search relevance is not optimized when the Active Directory has errors in the manager reporting structure - SharePoint 2013 Health analyzer error

Problem: 
SharePoint 2013 Health analyzer logged this error - People Search relevance is not optimized when the Active Directory has errors in the manager reporting structure.
People Search relevance is not optimized when the Active Directory has errors in the manager reporting structure
Also in Windows Event Viewer, from MSSQL$SHAREPOINT Source, "An exception occurred while enqueuing a message in the target queue. Error: 15404, State: 11. Could not obtain information about Windows NT group/user , error code 0x534."

Root Cause: There are user profiles in Active directory with no "Manager" property value defined (empty!). SharePoint uses this field for features such as to determine colleagues, social, people search relevance,etc.

Solution: Set the Manager property value for all users who don't have it set! Here is the quick way to find a list of users who don't have Manager field:
Import-Module ActiveDirectory

Get-ADUser -Filter * | Where-Object {$_.Manager -Eq $Null} | Export-CSV D:\Profiles.csv -notype

Alternatively, although its not a good idea, you can disable this rule in SharePoint health monitor if you want to suppress these errors!

What if Users don't have Manager at all?
Say for e.g. by organization's structure, CxOs may not have manager, isn't it? If that's the case, you'll have to explicitly specify these users as company leaders. Here is how:
$UPSProxy = Get-SPServiceApplicationProxy | ? {$_.typename -eq "User Profile Service Application Proxy"}

Add-SPProfileLeader -ProfileServiceApplicationProxy $UPSProxy -Name "Domain\Username"

You can follow this technet article: https://technet.microsoft.com/en-us/library/hh867937%28v=office.14%29.aspx
People Search relevance is not optimized when the Active Directory has errors in the manager reporting structure - SharePoint 2013 Health analyzer error People Search relevance is not optimized when the Active Directory has errors in the manager reporting structure - SharePoint 2013 Health analyzer error Reviewed by Salaudeen Rajack on November 14, 2015 Rating: 5

No comments:

Please Login and comment to get your questions answered!

Powered by Blogger.