SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I was just creating an instance of a userprofilemanager and i get an error in the same line

UserProfileManager myuserprofilemanager = new UserProfileManager(mycontext, true, true);

Error is - "UserProfileApplicationNotAvailableException_Logging :: UserProfileApplicationProxy.ApplicationProperties ProfilePropertyCache does not have 0d3993c7-9fe0-46b6-ae17-241e6d502bd3"

Any help is highly appreciated.

The stach trace tells at Microsoft.Office.Server.Administration.UserProfileApplicationProxy.get_ApplicationProperties() at Microsoft.Office.Server.Administration.UserProfileApplicationProxy.CheckAdministrationAccess(UserProfileApplicationAdminRights rights, Boolean requireAllRights) at Microsoft.Office.Server.Administration.UserProfileApplicationProxy.CheckAdministrationAccess(UserProfileApplicationAdminRights rights) at Microsoft.Office.Server.UserProfiles.ProfileManagerBase.CanManagePeople(UserProfileApplicationProxy userProfileApplicationProxy) at Microsoft.Office.Server.Administration.UserProfileApplicationProxy.get_IsProfileAdmin() at Microsoft.Office.Server.UserProfiles.ProfileManagerBase.get_IsProfileAdmin() at Microsoft.Office.Server.UserProfiles.UserProfileManager..ctor(SPServiceContext serviceContext, Boolean IgnoreUserPrivacy, Boolean backwardCompatible) at ConsoleApplication1.Program.b_0() in \\hdrives\u50038\Visual Studio 2012\Projects\ConsoleApplication1\ConsoleApplication1\Program.cs:line 27 at Microsoft.SharePoint.SPSecurity.<>c_DisplayClass5.b__3() at Microsoft.SharePoint.Utilities.SecurityContext.RunAsProcess(CodeToRunElevated secureCode)

i have set full control User Profile Service Application permission for for the user under which application is running

share|improve this question
Show us your code? – Falak Mahmood Jan 28 '13 at 20:26
up vote 0 down vote accepted

I rechecked the Configuration of the user profile and it worked.. Thanks for the help anyway

share|improve this answer
Can you add more details? What did you change in configuration? – Slaven Semper Apr 24 '15 at 9:10

This resolved the issue for me:

◾Open Central Administration
◾Click Service Applications
◾Select “User Profile Service Application”
◾Click in ribbon the Permissions button
◾Add account which is running PS script, in this example “xxx-spinstall”
◾Select “Full Control” and click OK
◾Run the PS-script again!


share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.