Archive

Archive for October, 2011

Fixing: People Search relevance is not optimized when the Active Directory has errors in the Manager Reporting Structure

October 6, 2011 12 comments

Follow the steps below to fix the following error ‘People Search relevance is not optimized when the Active Directory has errors in the Manager Reporting Structure‘ found in the SharePoint 2010 Health Analyzer Reports.

1.  Log into the CA Server and bring up SharePoint 2010 Management Shell (PowerShell)
2.  Type $upap = Get-SPServiceApplicationProxy | ? {$_.TypeName -like “*User Profile Service Application*”}
3.  Next Type: Add-SPProfileLeader $upap [domain]\[username]

You will be prompted to confirm:

Are you sure you want to perform this action?
Performing operation “Add-SPProfileLeader” on Target “[domain]\[user name]”.
[Y] Yes [A] Yes to All [N] No [L] No to All [S] Suspend [?] Help
<default is “Y”>:

4.  Type Y to confirm

PowerShell well let you know that the username has been added as a Leader

User ‘[domain]\[user name]’ added as a leader.

Go back to The Health Analyzer Report and Reanalyze the problem.  This will fix the error and clear it from the report.