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 at the right destination: User profile service application permissions! Grant “Full Control” permission to the account running the code on the 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.
    user profile service application permissions
  4. Add your account to the permissions. (Make sure: Farm Admin account also added)
  5. Enable Full Control for your account and Click OK.grant permission to account

That’s all. Try restarting the IDE and the error should gone now!

Salaudeen Rajack

Information Technology Professional with Two decades of SharePoint Experience.

Leave a Reply