Как им импортировать фотографии Active Directory и синхронизируйте их с моими коллекциями сайта?

sharepoint.stackexchange https://sharepoint.stackexchange.com//questions/46569

Вопрос

У меня есть фотографии сотрудников, которые уже загружены в Active Directory.Я хотел бы, чтобы они выдвинули в SharePoint, чтобы они были видны на страницах Mysite и на всех коллекциях сайта.

Как я могу сделать это?

Это было полезно?

Решение

I found this great article on how to accomplish this.

Assuming that you already have basic user profile synchronization working, the steps are:

  1. Create an import PictureUrl mapping - Go to your Central Admin site "Manage Service Applications -> User Profile Service Application -> Manager User Properties -> Picture" and select "thumbnailPhoto" as the attribute. Choose the "Import" direction". Make sure that the edit settings are "Do not allow users to edit values for this property" if you do not want photos from SharePoint to export to active directory. Click "OK".

  2. Run a full profile sync - While still on the central admin site go to "Manage Service Applications -> User Profile Service -> Start profile synchronization" and select "Full". When it completes you will notice that the photo still doesn't show when you go to a user profile. There is one more step.

  3. Give yourself permission to push photos to MySite - Go to Central Admin and click on "Manage Service Applications". This time select the "User Profile Service Application" row and not the link. On the ribbon go to "Service Applications -> Sharing -> Permissions". Add your account and give it "Full Control" permission.

  4. Push the photos to MySite - This step requires that you have a MySite setup (Setup MySite). Open a powershell window and enter

    Update-SPProfilePhotoStore -CreateThumbnailsForImportedPhotos 1 -MySiteHostLocation "http://YourServerName/my"

    If you receive an "Object reference not set to an instance of an object" exception then make sure you followed step 3. This is caused by a permission error. Here is a link with more details.

Другие советы

Thanks! Another helpful step by step guide to Import User Pictures from Active Directory to SharePoint 2010 My Site: http://www.sharepointdiary.com/2013/01/import-user-pictures-from-active-directory-to-sharepoint-2010-mysite.html

Лицензировано под: CC-BY-SA с атрибуция
Не связан с sharepoint.stackexchange
scroll top