Hello Najam ul Saqib
Greetings!
Thank you for your response.
Azure Front Door serves as a global load balancer and does not have regional configurations or integrate with virtual networks, unlike Application Gateway.
To use Front Door, you can maintain the hub resource group and place the function app in spoke resource groups. Additionally, you can implement access restrictions on the function app to permit only Front Door traffic.
Q. In my model, all of the web apps traffic will go through FrontDoor WAF and rest of the traffic will be via Firewall. Is that okay?
Solution: Yes, your observation is correct. You can achieve this by using the scenario mentioned above.
If you need to connect to the client Functions App via Azure Firewall, you must create a DNAT rule pointing to the FQDN of the Function App. The challenging aspect is that the client must direct the FQDN of the Function App to the Azure Firewall's IP. For a global scale implementation, you will need to create a custom domain and point the Azure Firewall IP to it.
I hope this has been helpful!
Your feedback is important so please take a moment to accept answers. If you still have questions, please let us know what is needed in the comments so the question can be answered. Thank you for helping to improve Microsoft Q&A!
Please accept an answer if correct. Original posters help the community find answers faster by identifying the correct answer. Here is how.