I’m facing issues with setting up a data connection between SharePoint and InfoPath. It works fine without any issues until I publish the form.

The point is that I would like to get a normal username in InfoPath instead of the current format (i:0#.w|domain\firstname.lastname).

Hence I’ve set up a data connection to GetUserProfileByName but unfortunately the system runs in error when I open the form in SharePoint.

See screenshot enter image description here

1 Answer 1


Here you need modify the registry.Please go through the following link.


  • Unfortunately I don't have admin rights here in the company. Nor coding. Will let the admins know about this article. Thank you! Oct 13, 2016 at 15:36

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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