Share via


People Search relevance is not optimized when the Active Directory has errors in the manager reporting structure (SharePoint Server)

APPLIES TO: yes-img-132013 no-img-162016 no-img-192019 no-img-seSubscription Edition no-img-sopSharePoint in Microsoft 365

Important

This health analyzer rule only applies to SharePoint 2010 as this was removed in KB4011601 for SharePoint Server 2013 and KB4011576 for SharePoint Server 2016.

Rule Name: People Search relevance isn't optimized when the Active Directory has errors in the manager reporting structure.

Summary: In Active Directory Domain Services (AD DS), only company leaders should have the Manager property set to NULL. If the Manager property is set to NULL for other users, people search relevance is reduced. To optimize people search relevance, explicitly specify company leaders. People search can then use this information to improve relevance.

Cause: Company leaders haven't been explicitly specified.

Resolution: Specify company leaders.

  1. Verify that you have the following memberships:
  • securityadmin fixed server role on the SQL Server instance.

  • db_owner fixed database role on all databases that are to be updated.

  • Administrators group on the server on which you're running the Microsoft PowerShell cmdlets.

  • Add memberships that are required beyond the minimums above.

    An administrator can use the Add-SPShellAdmin cmdlet to grant permissions to use SharePoint Server cmdlets.

    Note

    If you do not have permissions, contact your Setup administrator or SQL Server administrator to request permissions. For more information about PowerShell permissions, see Add-SPShellAdmin.

  1. Start the SharePoint Management Shell.

  2. At the PowerShell command prompt, type the following command:

    $upaProxy = Get-SPServiceApplicationProxy <AppID>
    

    where <AppID> is the GUID of the User Profile service application proxy. For more information, see Get-SPProfileLeader.

  3. Type the following command:

    Add-SPProfileLeader -ProfileServiceApplicationProxy $upaProxy -Name "<Domain\UserName> "
    

    where <Domain\UserName> is the user account that you want to add as a leader—for example, Contoso\Joe.Healy. For more information, see Add-SPProfileLeader.

  4. You're prompted to confirm. Type Y to confirm.

  5. Run a full crawl on the content source that contains the start address (URL) of the User Profile application.

Repeat the commands to add more user accounts as company leaders.

See also

Other Resources

Add-SPProfileLeader