Web Part fails after rebuilding User Profile Service

In our test environment we had to rebuild / reprovision the User Profile Service Application. After this was completed our OrgChart configuration errored stating “Error Occurred while loading of available fields”. In the ULS Logs it says the same and states it couldn’t find the User Profile Application Proxy. I retracted / redeployed the solution and this error still exists. Is there anything additional that needs to be done for the OrgChart to recognized the new correct proxy service?

Plumsail.OrgChart.Utils. Unable to get available user profile fields: Microsoft.Office.Server.UserProfiles.UserProfileApplicationNotAvailableException: UserProfileApplicationNotAvailableException_Logging :: UserProfileApplicationProxy.GetRawPartitionID has null proxy at Microsoft.Office.Server.Administration.UserProfileApplicationProxy.GetRawPartitionID(SPServiceContext serviceContext) at Microsoft.Office.Server.UserProfiles.ProfileManagerBase..ctor(SPServiceContext serviceContext) at Microsoft.Office.Server.UserProfiles.ProfileManagerBase..ctor(SPServiceContext serviceContext, Boolean ignorePrivacy) at Microsoft.Office.Server.UserProfiles.UserProfileManager..ctor(SPServiceContext serviceContext, Boolean IgnoreUserPrivacy, Boolean backwardCompatible) at Microsoft.Office.Server.UserProfiles.UserProfileManager..ctor(SPServiceContext serviceContext) at ›‹††‡— ‹“—šŽ‡œ˜˜ˆ.‰›™’‡ Šš’’‹–‹‘†.˜œ ‡Ž†˜Œ›‡() at ›‹††‡— ‹“—šŽ‡œ˜˜ˆ.‰›™’‡ Šš’’‹–‹‘†.˜• –†•“‡() at ›‹††‡— ‹“—šŽ‡œ˜˜ˆ.‰›™’‡ Šš’’‹–‹‘†..ctor() at Plumsail.OrgChart.Service.OrgChartService.GetAvailableUserProfileFields()


And the answer is the site in question didn’t use the defaultproxygroup but a custom one. Once I added the user profile application proxy to the custom group it was able to load the profile information.

Hi Brian,

Thank you for sharing results of your research.
We very appreciate your help in improving our product!

Best regards
Evgeniy Kovalev
Plumsail Team