SharePoint Online InfoPath form User Profile Limitation and Workaround

Here we will discuss SharePoint online InfoPath form user profile limitation and the workaround for it. We had come across an issue with InfoPath form in SharePoint Online which was migrated from SharePoint 2013. InfoPath form in SharePoint Online doesn’t support User Profile Web service data connection.

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. Below approach will be used to fix the issue.

Solution [SharePoint online user profile service InfoPath]

We can use the User Information List as Data connection Library to get the required information for any user.
Below Steps needs to be configured in InfoPath Designer 2013.
Open InfoPath form in InfoPath Designer 2013.
Click on Data connections under Data tab.



sharepoint online user profile service infopath

SharePoint online infopath form limitation

Click on Add button to create a new connection in InfoPath 2013.

SharePoint online user profile service infopath designer 2013

SharePoint online infopath form user profile

Select the Receive Data option.

SharePoint online infopath form user profile

SharePoint online infopath form user profile

Select the Sharepoint Library or List option in SharePoint InfoPath.

sharepoint online infopath get current user

SharePoint online infopath form user profile

Provide SharePoint Online site URL.

SharePoint online infopath user information list

SharePoint online infopath form user profile

Select User Information List and click on Next Button.

Select all the required fields which will be used in InfoPath Form.

sharepoint online infopath get current user

SharePoint online infopath form user profile 3

Click on Finish to complete the data connection.

sharepoint online user profile service infopath

SharePoint online infopath form user profile

You may like following SharePoint InfoPath tutorials below:

Hope this will be very useful for SharePoint online user profile service InfoPath. We have seen how we can get user profile information from the User Information List.

free sharepoint training

SharePoint Online FREE Training

JOIN a FREE SharePoint Video Course (3 Part Video Series)

envelope
envelope

Sambita Rath

I have 9 years of exprience into SharePoint implementation, architecture, Administrator, development and Training.Designing Information Architecture in SharePoint 2007, 2010,2013 and Office 365.

>