The issue refers to the following scenario:
- an Azure App Service
- an Application Gateway with WAF v2. The backend pool contains the reference to the App Service.
- a Microsoft Standard CDN
- a Content Delivery Network WAF policy with associated the CDN endpoint
After creating on the App Service an IP restriction on the WAF public static IP, I get (403) Forbidden when I try to browse the CDN's public address. If I remove the restriction I can reach the CDN without any problem.
How can I maintain restrictions on the WAF IP and ensure that the CDN is reached?