如何将用户在AD中照片导入到SharePoint User Profile?

最近在企业环境中遇到一个问题,在用户的照片已经导入到AD中,但是没有在SharePoint User Profile Picture中显示。我们都知道需要在SharePoint中更新用户照片属性。那如何进行更新呢?

 

下面就对此进行介绍:

  1. 打开Central Administration-> Application Management-> Service manager,找到User Profile点击进行管理页面
  2. 点击People-> Manage User Properties

Machine generated alternative text:Manage P rofi le Service: User P rofi | e Sync us Pro 1P5 Manage user profiles Manage us Sub-types ManageAudiences 虐 e 0m , 逶 , on Man-age user permissions 00m , 鬼 Audieru:es Manage poli , S 丿 n 醐 non , , i , 1 Configure Synchronization Connections Configure nth , 0n1 」 tion , m 」 0b Configure Settings Start 鼾 醐 5 、 砜 hra : n 0 的 以 ni tia 飞 M 引 , a Or 和 , ion 鼾 op 以 ti 以 M 引 , , g , 0 引 " , ion Manage 0 的 , n' = 轟 on Sub . , ; My Site e 出 ng ; Setup My 5 、 Configure HO La Manage Promoted , , , 0 0 , : , 〖 , , Manage 」 00 , Tags and NO , Manage 以 , g

  1.  在显示的属性页面中,选择Picture,点击下拉列表Edit button

Picture.png

 

  1.  向下找到Add New Mapping,选择AD data Connection,在attribute选择thumbnailPhoto并点击AddOK保存修改。此选项可以将SharePoint Picture属性映射到Aduserphoto attribute

Property_Mapping.png

 

  1. 进入Synchronization-> Start Profile Synchronization

Start_Profile_Sync.png

  1. 执行Full Synchronization

Start_Full_Sync.png

  1. sync job执行完成后,打开SharePoint Management Shell,执行下面语句update

Update-SPProfilePhotoStore-CreateThumbnailsForImportedPhotos 1 -MySiteHostLocationhttp://MySiteURL

 

  1. 语句执行完成后,可以点击Manage User Profiles

Manage_User_Profiles.png

 

  1. 在搜索中输入一个user查询,对此user点击Edit My Profile

 

  1. 可以看到user的照片显示在Profile

 

感谢阅读。

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值