SharePoint people search error

Error:
People search relevance is not optimized when the Active Directory has errors in the manager reporting structure –

The above error happens when active directory manager field is set to empty.  Company leaders can have it empty. To fix the above error, specify the company leaders explicitly.

Powershell script:
Get-SPServiceApplicationProxy                                                                                    
$upaProxy = Get-SPServiceApplicationProxy <proxy id>
Add-SPProfileLeader $upaProxy -Name "contoso\janedow"
 
Then run the below command to see if it has been added:
'Get-SPProfileLeader $upaproxy'
 
Run a full crawl on the content source containing the start address of the URL profile.
 
To remove the company leaders that were added explicitly, run the below powershell command:
Remove-SPProfileLeader -ProfileServiceApplicationProxy $upaProxy -Name "contoso\janedow"
 

No comments:

Post a Comment