Issue
Sporadically, workflows with Query User Profile Errored out with the following message in the Workflow History
Workflow Comment
Error querying user profile. The trial period for this product has expired.
Workflow Comment
Error querying user profile. The trial period for this product has expired.
Resolution
This issue occurs when the Sharepoint Server is unable to access the token from the Registry.
Please run this command on all the servers in this farm in a sharepoint management shell window,
Please run an IISReset after this is performed
Please run this command on all the servers in this farm in a sharepoint management shell window,
Initialize-SPResourceSecurity or pSConfig -cmd secureresources
Please run an IISReset after this is performed