I searched and found many solutions but nothing worked for SPO as everything was related to server versions and not online. Please help me experts. :)
I have a InfoPath form published to SPO form library. The form is using couple of data connections. One uses user profile service and the other gets data from a different private site's list. I also have secure store target application credentials created and updated the 2nd data connection to authenticate using the secure store credentials. This has caused the 2nd data connection not to receive any data from the private site's list. When I comment the udc:Authentication, it is able to pull the information.
An error occurred querying a data source.
An error occurred while using the form. For more information, contact the site administrator. An entry has been added to the Windows event log of the server.
Note: Note sure if this is important, the form is published to the site that got created to a teams (call it 'Organization Team'). The list is located in a private channel's site. The private channel is under the team 'Organization Team'.