user2503480
user2503480

Reputation: 193

Calling Azure Functions Runtime from Logic Apps

I have on-premise azure functions create via the Azure Functions Runtime. How do I call these functions from a logic apps resource on the cloud. Based on what I have been reading I need to install the on-premise data gateway first. This will be the way logic apps will communicate to on-premise resources. However this communication seems to only be possible for local data sources sqlserver, biztalk server etc. How exactly do i angagne with my local functions. Is there a connector for this?

Upvotes: 0

Views: 230

Answers (2)

Esa Vanhanen-Varho
Esa Vanhanen-Varho

Reputation: 146

I assume your functions are HTTP triggered.

Calling on-prem HTTP resources directly from Logic Apps can be done, as you suggested, via the on-premises data gateway. You just need to create a custom connector for this.

There are tutorials under the official documentation, but as an external blog this one explains the required steps (for SOAP endpoint): https://www.codit.eu/blog/connecting-to-on-premise-http-endpoints-from-logic-app/

Upvotes: 0

Thiago Custodio
Thiago Custodio

Reputation: 18387

You can expose your local machine using a tool such as:

  • Ngrok
  • Localtunnel
  • Serveo
  • Teleconsole
  • Pagekite

and use the provided url as a proxy to call your local function. So your Logic App will call one of those services, which will route the request to your function.

Upvotes: 0

Related Questions