【发布时间】:2014-11-13 05:36:18
【问题描述】:
我无法将图片映射到 SharePoint 2013 用户配置文件中的 AD thumbnailPhoto:
- 我当前的用户拥有农场权限
- 我可以在管理用户属性中编辑图片
- 当我从下拉列表中选择 thumbnailPhoto 并单击确定时,它会返回到管理用户属性而不进行映射
提前致谢
【问题讨论】:
标签: sharepoint user-profile sharepoint-userprofile
我无法将图片映射到 SharePoint 2013 用户配置文件中的 AD thumbnailPhoto:
提前致谢
【问题讨论】:
标签: sharepoint user-profile sharepoint-userprofile
在选择 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
【讨论】:
$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") }
终于,它工作了,实际上这是一个非常愚蠢的,我没有在确定之前点击添加按钮! ,愚蠢的是不是:)?
【讨论】: