manager reporting structure.
Ok, the idea is to fix this warning on sharepoint 2013:
People search relevance is not optimized when the Active Directory has errors in the manager reporting structure.
I have tried running this powershell commands where ID stands for ID of user profile proxy:
$upap = Get-SPServiceApplicationProxy ID
Add-SPProfileLeader $upap DOMAIN\director-username
Get-SPProfileLeader $upap
I have ran those commands and recieved an error:
directors-username has a manager.
Ok, went opening Active Directory users and computers, and properties/organization of director.
I saw that he had a Manager selected. this was a previous director who has alread retired,
soo i clicked there clear, that he does not have any manager.
I have waited about 1h and I still get the same error if I run powershell commands.
Even if I restart Sharepoint 2013 server, the error is the same.
How to convince Sharepoint2013 that this user does not have any managers in front of him anymore?
bostjanc