Here we will discuss about SharePoint online infopath form user profile limitation and the workaround for it.
We had come across issue with InfoPath from 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.
– Azure Add-in Send Email SharePoint Online Office 365
– How to assign permission level to SharePoint 2013 groups using PowerShell?
– Generate userprofile information PowerShell Script SharePoint 2013
We can use User Information List as Data connection Library to get required information for any user.
Steps to be configured.
Open InfoPath form in Designer.
Click on Data connections under Data tab.
Click on Add button to create new connection.
Select Receive Data option.
Select Sharepoint Library or List option.
Provide SharePoint site URL.
Select User Information List and click on Next Button.
Select all the required fields which will be used in InfoPath Form.
Click on Finish to complete the data connection.
Hope this will be very useful.