Keith Smith - My Blog

People search relevance is not optimized when the Active Directory

Wednesday, April 19, 2017 - by Keith A. Smith

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.

Scenario:
Specify the company leaders explicitly. Use the following PowerShell commands: $upap = Get-SPServiceApplicationProxy [appid]; Add-SPProfileLeader $upap [Domain]\[UserName]. Run ‘Get-SPProfileLeader $upap’ to check whether the leader was successfully added. As a last step, run a full crawl on the content source containing the start address (URL) of the user profile application. For more information about this rule, see “http://go.microsoft.com/fwlink/?LinkID=248249“.
 
Steps:
Run the follow commands in a SharePoint Management shell as administrator:
1) Get-SPServiceApplicationProxy
 
2)  $upap = Get-SPServiceApplicationProxy -Identity c36a7818
-668b-4190-87f9-03aed906e465
3) $upap

4) Add-SPProfileLeader -ProfileServiceApplicationProxy $upap -Name “DOMAIN\Department.Head”
5) Get-SPProfileLeader $upap
6) Run a full crawl on the content source containing the start address (URL) of the user profile application
If you want to check the leadres:
Get-SPProfileLeader
Get-SPProfileLeader -ProfileServiceApplicationProxy $upap
 
If you want to delete the leaders:
Remove-SPProfileLeader
Remove-SPProfileLeader -ProfileServiceApplicationProxy $upap -Name "DOMAIN\user1"

-End
  Share Post   

View Comments Comments


Leave a Comment