@Abhay Gupta Since your function app is inside a VNET, it is possible that you have the VNET_ROUTE_ALL app setting set to 1
forcing all traffic via the VNET.
If the VNET doesn't have an outbound rule for the AzureMonitor
Service Tag, application insight requests won't get through.