How to Connect Azure function App to site2Site VPN , so that It can access the resources in On prem

Ingle, Sachin (DEU) 0 Reputation points
2024-08-21T09:54:48.47+00:00

Hi All,

I have created VPN tunnel ( site 2 site VPN Connection ) to our on prem VPN gateway and connection is successfull , I followed the following guide

https://learn.microsoft.com/en-us/azure/vpn-gateway/tutorial-site-to-site-portal

Now I want to creates a function app which can access SOAP web service accessable through VPN gateway

For this I have created function app in premium plan and connected outbout traffic to the s2s vpn subnet , but still i not able to consume the webservice from on prem vpn gateway

Am I missing osmeting ?

The connections seems to be scussfull

User's image

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
4,978 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Kris 26 Reputation points
    2024-08-23T09:20:27.5133333+00:00

    Is it correct you are trying to make a call TO call the function from on-premise? "but still i not able to consume the webservice from on prem vpn gateway"

    Could it be you are missing a Private endpoint on your function app?

    • VNET Integration is for outbound connectivity FROM the function
    • Private Endpoints is for inbound connectivity if you want to make private calls TO the function from (network wise) private applications, like on-premise private systems.

    However there are some things that need to be in place to make this work from On-Premise.

    https://learn.microsoft.com/en-us/azure/private-link/private-endpoint-dns-integration

    https://learn.microsoft.com/en-us/azure/private-link/private-endpoint-dns-integration#azure-private-resolver-for-on-premises-workloads


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.