Using On-Premise Data Gateway if you need a static outbound IP for a Logic App to call external API

This post has been republished via RSS; it originally appeared at: New blog articles in Microsoft Tech Community.




You want to call an external API from Logic Apps (Consumption) and your requirements states that you have to use a Static IP.

You don't want to use Integration Service Environment (ISE) nor APIM as a solution.

You have a Windows machine with a Static Outbound IP, or your Network Outbound IP is static.




You can use OPDGW (On-Premise Data Gateway) as a gateway between the Logic App and your API. The API will receive the request from the IP of the machine hosting the OPDGW. The IP of this machine should be static, or your Network outbound IPs for this machine are static. 




The machine should have access to the external API, so before testing the final solution; you should test if you can call the API from that machine, then install the OPDGW on the machine, set up the OPDGW on the Azure Portal, then try to call the OPDGW from the Logic App using an HTTP with Azure AD Action.






  • After creating the connection; You can use GET as the method, or POST, or what your API requires, and enter the URL for the API.
  • Test your solution; You should be able to call your External API through the OPDGW and your API will receive the call from your machine/network static IP.






Install on-premises data gateway - Azure Logic Apps | Microsoft Docs

Access data sources on premises - Azure Logic Apps | Microsoft Docs

HTTP with Azure AD - Connectors | Microsoft Docs


REMEMBER: these articles are REPUBLISHED. Your best bet to get a reply is to follow the link at the top of the post to the ORIGINAL post! BUT you're more than welcome to start discussions here:

This site uses Akismet to reduce spam. Learn how your comment data is processed.