【问题标题】:Unable to Map Picture to AD thumbnailPhoto in SharePoint 2013 User Profile无法将图片映射到 SharePoint 2013 用户配置文件中的 AD thumbnailPhoto
【发布时间】:2014-11-13 05:36:18
【问题描述】:

我无法将图片映射到 SharePoint 2013 用户配置文件中的 AD thumbnailPhoto:

  • 我当前的用户拥有农场权限
  • 我可以在管理用户属性中编辑图片
  • 当我从下拉列表中选择 thumbnailPhoto 并单击确定时,它会返回到管理用户属性而不进行映射

提前致谢

【问题讨论】:

    标签: sharepoint user-profile sharepoint-userprofile


    【解决方案1】:

    在选择 thumbnailPhoto 然后点击“导入”后会出现这种情况吗?

    还是在显示同步的属性映射后点击“确定”?

    如果映射后您的图像都没有通过,请尝试运行此脚本:

    $mySitesUrl = “http://mySiteURL”
    $mySitesHost = Get-SPSite –Identity $mySitesUrl
    Update-SPProfilePhotoStore –MySiteHostLocation $mySitesHost
    –CreateThumbnailsForImportedPhotos $true
    

    这篇文章应该有帮助:Adding Pictures to Active Directory and Show in SharePoint 2013

    【讨论】:

    • 实际上我无法映射属性,无法同步。打开Picture属性,选择thumbnailPhoto后点击OK,不是映射,一直为空
    • 您使用的是哪个浏览器?你在 IE 和 Chrome 中都试过了吗? UPS 设置正确,相关服务是否正常运行?
    • 感谢您的回复 - 我正在使用 IE - UPS 正在正确同步 - 所有服务都在运行
    • 来到这个网站:How to change user profile properties with PowerShell。尝试使用 PowerShell 更新属性。
    • 我尝试了以下代码但没有成功$site = New-Object Microsoft.SharePoint.SPSite http://CAHostURL $context = [Microsoft.SharePoint.SPServiceContext]::GetContext($site) $configManager = New-Object Microsoft.Office.Server.UserProfiles.UserProfileConfigManager $context $UPAConnMgr = $configManager.ConnectionManager $Connection = ($UPAConnMgr | select -First 1) if ($Connection.Type -eq "ActiveDirectory"){ $Connection.PropertyMapping.AddNewMapping("User", "Picture", "thumbnailPhoto") }
    【解决方案2】:

    终于,它工作了,实际上这是一个非常愚蠢的,我没有在确定之前点击添加按钮! ,愚蠢的是不是:)?

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2013-08-22
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2012-01-20
      相关资源
      最近更新 更多