Active Directory 的管理器报告结构中存在错误时,不优化人员搜索相关性 (SharePoint Server)

适用于:yes-img-132013 no-img-162016 no-img-192019 no-img-seSubscription Edition no-img-sopSharePoint in Microsoft 365

重要

此运行状况分析器规则仅适用于 SharePoint 2010,因为此规则在 KB4011601 for SharePoint Server 2013 和 KB4011576 for SharePoint Server 2016 中删除。

规则名称: 当 Active Directory 在管理器报告结构中出现错误时,人员搜索相关性不会优化。

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.

原因: 尚未明确指定公司领导。

解决方法:指定公司领导。

  1. 确认您具有以下成员身份:
  • SQL Server 实例上的 securityadmin 固定服务器角色。

  • 要更新的所有数据库上的 db_owner 固定数据库角色。

  • 运行 PowerShell cmdlet 的服务器上的管理员组Microsoft。

  • 添加至少具有以上最小权限的成员。

    管理员可以使用 Add-SPShellAdmin cmdlet 授予使用 SharePoint Server cmdlet 的权限。

    注意

    [!注意] 如果您不具有这些权限,请联系您的安装管理员或 SQL Server 管理员来请求权限。 有关 PowerShell 权限的详细信息,请参阅 Add-SPShellAdmin

  1. 启动 SharePoint 命令行管理程序。

  2. 在 PowerShell 命令提示符处,键入以下命令:

    $upaProxy = Get-SPServiceApplicationProxy <AppID>
    

    其中 <,AppID> 是用户配置文件服务应用程序代理的 GUID。 有关详细信息,请参阅 Get-SPProfileLeader

  3. 键入以下命令:

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

    其中 <,Domain\UserName> 是要添加为领导者的用户帐户,例如 Contoso\Joe.Healy。 有关详细信息,请参阅 Add-SPProfileLeader

  4. 系统会提示你确认。 请键入 Y 进行确认。

  5. 对包含用户配置文件应用程序的起始地址 (URL) 的内容源运行完全爬网。

重复这些命令以将多个用户帐户作为公司领导添加。

另请参阅

其他资源

Add-SPProfileLeader