0

We do have SharePoint list and customized using info path. Users have contribute permission and they are trying to open the form, it through error the following screen shot.

enter image description here

1

Are you using the GetUserProfileByName web service on the InfoPath form?

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 some SharePoint Online web services.

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 environment.

Method 1: You need to convert the GetUserProfileByName to .udcx file, edit it according to the Central Admin changes, upload it in Data connection library(not sure if this will work in SPO, but you can have a try).

You can refer to below article for more information:

https://support.microsoft.com/en-us/help/981684/when-you-connect-to-a-web-service-by-using-an-infopath-2010-form-that

Method 2: You can convert the request(GetUserProfileByName web service) to object model calls which does not cause a loopback.

Reference:

https://support.office.com/en-us/article/error-message-when-you-connect-an-infopath-form-to-a-sharepoint-online-web-service-an-error-occurred-while-connecting-to-a-web-service-11275775-0840-4dc6-b24b-55ea19e4cc28?ui=en-US&rs=en-US&ad=US

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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