I have a sharepoint list that is embedded in a sharepoint page. The sharepoint list has a power app form that uses SQL connection to show a database table. In the form I am using the User() function to get the email in order to use it to filter the table and with the information from the table I filter a gallery.
When I test it on the sharepoint list alone it works perfect, but on the sharepoint page when I click on the new button on the embedded list, is show the form for a bit and the I get the error "AADSTS50196: The server terminated an operation because it encountered a loop while processing a request."
Any help or suggestion on what to look for would be great, thanks.