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.
  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!

Salaudeen Rajack

Salaudeen Rajack - Information Technology Expert with Two-decades of hands-on experience, specializing in SharePoint, PowerShell, Microsoft 365, and related products. He has held various positions including SharePoint Architect, Administrator, Developer and consultant, has helped many organizations to implement and optimize SharePoint solutions. Known for his deep technical expertise, He's passionate about sharing the knowledge and insights to help others, through the real-world articles!

One thought on “Fix for SharePoint UserProfileApplicationNotAvailableException_Logging Exception

  • In my case : I checked permission is already assign to farm user, service account and pool account also. i was fetching user profile information in webpart C#. i resolved this to add RunWithElevatedPrivileges now its working fine.

    Reply

Leave a Reply

Your email address will not be published. Required fields are marked *