Hi,
We are having trouble setting up the Access Restrictions for App Services. We have an Application Gateway that routes the traffic accordingly. App Services are not exposed to the public and all traffic must go through the Application Gateway that has WAF enabled. The AG has a health probe for the App Services to check if the app is running. The issue we are currently facing is how to set up the Access Restrictions in the App Services, such that it allows certain IPs AND the health probe to work.
All unmatched rule action is set to deny, and rules that check the traffic on the AG subnet and the X-Forwarded-For header for IP whitelisting. However, this approach stops the health probe from working properly because any unmatched rule will be rejected.
Any suggestions will be appreciated. Thank you.