Active Directory 發生管理員報告結構的錯誤,人員搜尋相關性無法進行最佳化 (SharePoint Server)

適用于:yes-img-132013 no-img-16 2016no-img-192019 no-img-seSubscription Edition no-img-sopSharePoint in Microsoft 365

重要事項

此健康情況分析器規則僅適用于 SharePoint 2010,因為已在 KB4011601 for SharePoint Server 2013 中移除此規則,而適用于 SharePoint Server 2016 的 KB4011576 已移除此規則。

規則名稱:當管理員報告結構中的 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 固定資料庫角色。

  • 正在執行 Microsoft PowerShell Cmdlet 之所在伺服器上的系統管理員群組。

  • 請以高於上述基本要求新增必要的成員資格。

    系統管理員可以使用 Add-SPShellAdmin Cmdlet 授與使用 SharePoint Server Cmdlet 的權限。

    注意事項

    [!附註] 如果您不具備上述權限,請連絡安裝程式系統管理員或 SQL Server 系統管理員要求權限。 如需 PowerShell 權限的其他資訊,請參閱 Add-SPShellAdmin

  1. 啟動 SharePoint 管理命令介面。

  2. 在 PowerShell 命令提示字元中,輸入下列命令:

    $upaProxy = Get-SPServiceApplicationProxy <AppID>
    

    其中< AppID >是 User Profile Service 應用程式 Proxy 的 GUID。 如需更多資訊,請參閱 Get-SPProfileLeader

  3. 輸入下列命令:

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

    其中< Domain\UserName >是您要新增為領導者的使用者帳戶,例如 Contoso\Joe.Healy。 如需更多資訊,請參閱 Add-SPProfileLeader

  4. You are prompted to confirm. Type Y to confirm.

  5. 在包含 User Profile 應用程式的起始位址 (URL) 的內容來源中執行完整編目。

重複該命令以新增更多使用者帳戶作為公司負責人。

另請參閱

其他資源

Add-SPProfileLeader