Hi,
Are you using Virtual Network integration so that your function can connect to a VNet that is connected to your company's private network via Site-to-Site VPN connection? Or are you using some other method to allow your function to make a REST call into the private network?
Please provide more details and/or set up VNet integration and reply back with your results.
Virtual network integration
Thanks.
-TP