Symptoms
User is getting an error on K2 form
Diagnoses
User is getting the following error:
SmartObject property UserName is a required property for selected method GetUserDetails. Value must be set.
Resolution
This issue stemmed from a flag in AD. The customer uses multiple domains, and the user was on the international domain while the sharepoint resides on the domestic domain. Therefore the user was not being resolved. There is a flag in AD in which default domains are determined, and the user had the international domain flagged. The flag was switched and the script below was used to add the user to sharepoint.
Set-SPUser -Identity "DOMAINxxxxxxx" -SyncFromAD -Web http://xxxxxx.xxxxxxx.com
We then fired off the 'Get User Details' method under the URM service.
This resolved the user with the proper properties, and in turn allowed the user's data to flow throughout the application.