Fix for SharePoint UserProfileApplicationNotAvailableException_Logging Exception

I was trying to write a PowerShell script to retrieve user profile properties in SharePoint 2013, and ended up with the below error:

"UserProfileApplicationNotAvailableException_Logging :: UserProfileApplicationProxy.ApplicationProperties ProfilePropertyCache does not have c4a5371c-01c2-4281-b91b-ca335982f994"
SharePoint UserProfileApplicationNotAvailableException_Logging Exception

Solution:
After verifying user profile service application and SharePoint timer jobs are up and running, arrived to the right destination: User profile service application permissions! Grant "Full Control" permission to the account running the code on User profile Service application.
  1. Open SharePoint Central Administration site.
  2. Go to: Application Management >> Service Applications >> Manage service applications.
  3. Pick your user profile service application. Now, from the ribbon, click on Permissions button.
  4. Add your account to the permissions. (Make sure: Farm Admin account also added)
  5. Enable Full Control for your account and Click OK.
That's all. Try restarting the IDE and the error should gone now!

No comments:

Please Login and comment to get your questions answered!

Powered by Blogger.