The web app you have attempted to reach has blocked your access

Su Myat Hlaing 50 Reputation points
2023-08-31T02:15:28.6166667+00:00

I configure private end point for web app (ip address range for my local PC's internet ip address), but can not access to web app below error. Error 403 - Forbidden The web app you have attempted to reach has blocked your access.

Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
6,944 questions
{count} vote

Accepted answer
  1. ajkuma 22,521 Reputation points Microsoft Employee
    2023-08-31T18:34:33.38+00:00

    Based on my understanding of your scenario/issue description, when you create a private endpoint for an App Service, public access gets implicitly disabled. If you try to access your backend web app using its default URL, your access is denied. From a browser, navigate to <backend-app-name>.azurewebsites.net to confirm this behavior.

    Typically, If you are seeing the error message "Error 403 - Forbidden The web app you have attempted to reach has blocked your access", it means that you are trying to access the backend web app using its default URL.

    To access the backend web app, you need to use the private endpoint DNS name**.** You can find the private endpoint DNS name in the Azure portal.

    If you are still having issues accessing the backend web app, please provide more information about your configuration and the steps you have taken so far.

    Checkout this doc for more info: Using Private Endpoints for App Service apps. Using private endpoint for your app enables you to:
    "Securely connect to your app from on-premises networks that connect to the virtual network using a VPN or ExpressRoute private peering."

    Virtual network integration allows outbound traffic to flow directly into the virtual network. By default, only local IP traffic defined in RFC-1918is routed to the virtual network, which is what you need for the private endpoints. To route all your traffic to the virtual network, see Manage virtual network integration routing.

    Kindly let us know, I'll follow-up with you further.

    1 person found this answer helpful.
    0 comments No comments

0 additional answers

Sort by: Most helpful