In our production SharePoint environment we cannot get the Update-SPProfilePhotoStore command to create the thumbnail images used in SharePoint.
This same process for syncing the photos with AD works perfectly in our development environment including the thumbnail creation, but I cannot get it working in production. I can see the photos from AD are being updated on SharePoint in the User Photos folder on our my sites. So I know the user profile synchronization is working with AD.
I run the following command as administrator using the SharePoint Management Shell:
Update-SPProfilePhotoStore -CreateThumbnailsForImportedPhotos 1 -MySiteHostLocation http://mysites
The log entries are as follows:
Entering BeginProcessing Method of Update-SPProfilePhotoStore. 08f2050e-44dc-4b4a-85a2-bbf1481d889c
Leaving BeginProcessing Method of Update-SPProfilePhotoStore. 08f2050e-44dc-4b4a-85a2-bbf1481d889c
Entering ProcessRecord Method of Update-SPProfilePhotoStore. 08f2050e-44dc-4b4a-85a2-bbf1481d889c
WcfSendRequest: RemoteAddress: 'http://share:32843/895de18c320d455c9ef651e4e864984c/ProfilePropertyService.svc' Channel: 'Microsoft.Office.Server.UserProfiles.IProfilePropertyService' Action: 'http://Microsoft.Office.Server.UserProfiles/GetProfileProperties'
MessageId: 'urn:uuid:e1546605-0c00-46de-bb4b-311dc9409e3f'
WcfReceiveRequest: LocalAddress: 'http://share.copera.org:32843/895de18c320d455c9ef651e4e864984c/ProfilePropertyService.svc' Channel: 'System.ServiceModel.Channels.ServiceChannel' Action: 'http://Microsoft.Office.Server.UserProfiles/GetProfileProperties' MessageId:
'urn:uuid:e1546605-0c00-46de-bb4b-311dc9409e3f' 0d973486-bdf4-4132-b813-06527cf4cf8c
Entering monitored scope (ExecuteWcfServerOperation) 0d973486-bdf4-4132-b813-06527cf4cf8c
Leaving Monitored Scope (ExecuteWcfServerOperation). Execution Time=21.8684916658402 0d973486-bdf4-4132-b813-06527cf4cf8c
Leaving ProcessRecord Method of Update-SPProfilePhotoStore. 08f2050e-44dc-4b4a-85a2-bbf1481d889c
Entering EndProcessing Method of Update-SPProfilePhotoStore.
Leaving EndProcessing Method of Update-SPProfilePhotoStore.
I get no errors, but the process runs in a split second and no updates are occurring.
I have verified that the farm administrator account has "Full Control" on the User Profile Service and on the User Photos folder in mysites. Based on other posts and my own experience I felt it might be a permissions issue, but that doesn't seem to be the case.
I have already taken the steps of deleting all the user profiles and resyncing them from AD, but that did not solve the issue. Like I said above, the actual sync with AD works fine to get the photos into SharePoint. My next step may be to recreate the User Profile Service, but I am trying to save that as the last resort.
So I guess my question is two-fold; One, is there a way to get more log information by turning on some kind of debug or looking at another log, and Two, is there still something I may be missing in the setup of the User Profiles? I have compared Production to Development and they look exactly the same.
Thanks.