After migrating a InfoPath form in SP online, i faced the issue as can't get user profile of SP user. As the rest and soap is not supported in SP online Infopath form, what are the alternatives to solve this issue.

1 Answer 1


This issue occurs because loopback protection is enabled in the SharePoint Online environment. Loopback protection must be disabled for InfoPath forms to be able to connect to a SharePoint Online web service. This works only when loopback protection is disabled. For security reasons, loopback protection is always enabled in SharePoint Online. This is a known limitation of InfoPath forms in the Office 365 SharePoint Online

As a work around you can create a data connection to the User Information List and get the details of any user.

  • Create the Data Connection to the User Information List

enter image description here

  • Connect to the User Info List enter image description here
  • Select the User Properties enter image description here
  • In the Form Query the User Info List enter image description here
  • Select the required properties

enter image description here

More Details

Connect to User Information List

SP Online Infopath User Profile Workaround

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.