Unable to access Static Web App through VPN Peering with Virtual Network Gateway

Kenny Wong (HK) 20 Reputation points
2024-05-13T11:08:55.9433333+00:00

I have set up private endpoints for my Azure Static Web App and also Virtual Network Gateway connecting to an on premise network.

User's image

The status show in the Connection page is Connected

User's image

I can access the Static Web App from my jumphost within the same virtual network.

But when I tried to access my Static Web App from within the on premise network, I got 403 forbidden. I don't have an IP whitelist in staticwebappconfig.json

User's image

Azure Virtual Network
Azure Virtual Network
An Azure networking service that is used to provision private networks and optionally to connect to on-premises datacenters.
2,204 questions
Azure Static Web Apps
Azure Static Web Apps
An Azure service that provides streamlined full-stack web app development.
783 questions
{count} votes