
What is the best way to call an API in Azure that has no public access from Power Automate?
I am trying to create a proof of concept for some AI functionality in Azure Open AI. WE have everything created in Azure but we have everything locked down and have to access the APIs for this through a private endpoint/vnet. I am trying to figure out how we can access the APIs from Power Automate.
My quick fix was to use custom connectors and install an on premise gateway on a VM in Azure that we setup with access to the private endpoint. This was a quick fix and not a long term solution for us as we prefer not to have a machine running just for a gateway. I feel like there has to be a better solution for this and was hoping someone could point us in the correct direction.
Thanks for the help.
While my suggestion is not fundamentally different to what you are doing, using Azure API Management (APIM) with VNet integration is likely the best long-term solution for securely exposing APIs to Power Automate without relying on a VM and an on-premises data gateway. It lets you use OAuth2, client certificates, or any other supported authentication mechanism to secure the API.
What is Azure Virtual Network? | Microsoft Learn
Another option could be using an Azure function or Logic App to expose your endpoint using API keys.
Let me know how you approach it and if you hit any roadblocks with these approaches.