active directory profile picture import thumbnailphoto error
There was an issue while active directory profile picture import thumbnailphoto. The command run is as below
Update-SPProfilePhotoStore -CreateThumbnailsForImportedPhotos 1 -MySiteHostLocation http://mysite.mydomain.local
The error message in sharepoint management shell was as per below screenshot.
UserProfileApplicationProxy.ApplicationProperties ProfilePropertyCache does not have XXXXXXXXXX
It was found that user account running this command has lack of permission in user profile service application. navigate to User Profile Service from central admin and under the tab Permissions give proper permission.