Search This Blog

Saturday, July 27, 2013

SharePoint 2013 Add-SPProfileLeader cmdlet gives "ProfilePropertyCache does not have" error

if you have an error trying to specify your CEO in the User profiles -

"Add-SPProfileLeader : UserProfileApplicationNotAvailableException_Logging ::
UserProfileApplicationProxy.ApplicationProperties ProfilePropertyCache does
not have "


or if you use Update-SpProfilePhotoStore

Update-SPProfilePhotoStore -CreateThumbnailsForImportedPh
otos $true -MySiteHostLocation http://xxxxxxxxxx
Update-SPProfilePhotoStore :
UserProfileApplicationNotAvailableException_Logging ::
UserProfileApplicationProxy.ApplicationProperties ProfilePropertyCache does
not have ...


try to repeat this powershell command under farm account.

Or provide permission to your account in Central Admin - highlight User Profile Service Application and then click Permissions and add account that you use for PowerShell with Full permission



Sometime if it still does not work, check rather administrator.  Note also Service Account running Distributed Cache - AppFabric Caching  service ....

2 comments: