We help IT Professionals succeed at work.
Get Started

Sharepoint 2010 Health Report need help with

Thomas Grassi
on
232 Views
Last Modified: 2015-06-13
SharePoint 2010 SP2 Farm 64 bit


Title  People search relevance is not optimized when the Active Directory has errors in the manager reporting structure.
Severity 2 - Warning  
Category Configuration  
Remedy 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=2401800".
Failing Servers    
Failing Services UserProfileService
Rule Settings View  

Found this

http://sharepoint.stackexchange.com/questions/19233/how-do-i-fix-people-search-relevance-is-not-optimized-when-the-active-directory


http://www.harbar.net/archive/2011/07/06/329.aspx

Ran this

PS C:\> Get-SPProfileLeader -ProfileServiceApplicationPro
xy $upaProxy
Get-SPProfileLeader : Cannot validate argument on parameter 'ProfileServiceAppl
icationProxy'. The argument is null. Supply a non-null argument and try the com
mand again.
At line:1 char:52
+ Get-SPProfileLeader -ProfileServiceApplicationProxy <<<<  $upaProxy
    + CategoryInfo          : InvalidData: (:) [Get-SPProfileLeader], Paramete
   rBindingValidationException
    + FullyQualifiedErrorId : ParameterArgumentValidationError,Microsoft.Offic
   e.Server.UserProfiles.PowerShell.SPCmdletGetLeader

PS C:\> Add-SPProfileLeader $upap mydom\spserv
Add-SPProfileLeader : Cannot validate argument on parameter 'ProfileServiceAppl
icationProxy'. The argument is null. Supply a non-null argument and try the com
mand again.
At line:1 char:20
+ Add-SPProfileLeader <<<<  $upap mydom\spserv
    + CategoryInfo          : InvalidData: (:) [Add-SPProfileLeader], Paramete
   rBindingValidationException
    + FullyQualifiedErrorId : ParameterArgumentValidationError,Microsoft.Offic
   e.Server.UserProfiles.PowerShell.SPCmdletAddLeader

PS C:\>


What am I missing?

Thanks

Tom
Comment
Watch Question
Senior Associate
CERTIFIED EXPERT
Commented:
This problem has been solved!
Unlock 1 Answer and 16 Comments.
See Answer
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE