Hei @Sourav ,
Thank you for contacting Microsoft Community.
As i understand, you are trying to connect to an INTERNALLY exposed url hosted on premise from an Azure resource (function app).
Since the url is accessible only on your corporate network (internal enterprise network, since it is hosted on an on premise network) it would only be accessible a. from network resource hosted directly on the on premise network OR b. through the extension on the on premise network to another network like cloud virtual network.
Lets talk about "b" since "a" is self explanatory, what i mean is that we connect another network to on premise network through VPN or physical connection to make sure both the networks, On premise and the Cloud network can talk to each other and exchange routing tables.
(a routing table is basically direction to find the correct network address)
Once we have a connection, anything that can be accessible from On premise will be accessible from Cloud network too, and vice versa
Azure environment can be connected to On premise in 2 ( or 3) main ways:
- Site to site VPN: The is the most obvious and first choice to connect on-premises network to Azure network. It is easy to setup and is the goto for small to medium enterprises.
Quick tutorial: https://learn.microsoft.com/en-us/azure/vpn-gateway/tutorial-site-to-site-portal
Training module: https://learn.microsoft.com/en-us/training/modules/connect-on-premises-network-with-vpn-gateway/ - Azure Express Route: This is a solution for large enterprises who need dedicated connectivity with redundancy and SLA of 5 9's. This is neither a quick solution or a starter solution, but a long term strategy. There are variations to the solution.
Setup: https://learn.microsoft.com/en-us/azure/expressroute/expressroute-howto-circuit-portal-resource-manager?pivots=expressroute-current
Documentation: https://learn.microsoft.com/en-us/azure/expressroute/expressroute-introduction
Training module: https://learn.microsoft.com/en-us/training/modules/connect-on-premises-network-with-expressroute/ - Point to Site VPN: This is a test solution, neither recommended nor advised to be used beyond testing. It is mentioned here for the sake of completeness.
Quick tutorial: https://learn.microsoft.com/en-us/azure/vpn-gateway/openvpn-azure-ad-tenant
Training module: https://learn.microsoft.com/en-us/azure/vpn-gateway/work-remotely-support
Please mark this as answer if it helped