I am doing on POC for getting records from On-Premise SQL By using Logic Apps + API Apps.
I have created SQL Connector in API Apps and also created Logic Apps. But when
In the application settings you should change the access level to "public (authenticated)". currently Only other API apps or web apps in the same resource group are allowed to call the API app. In such a case the level will be internal.
"Permissions for service are set to internal but this request was external" for app in same resource group
Related issue.
I was accessing Function app, via Logic app, when I got the above error.
Following worked for me:
Function app > Platform features tab > API > CORS > Allowed Origins > (remove all, Save)
Function app > Platform features tab > API > CORS > Allowed Origins > * > Save (that is add * and save)
Function app > Overview tab > Restart
Now the Logic app worked fine.
Hope that helps.