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

Su Myat Hlaing 250 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.

Locked Question. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

Answer accepted by question author
Ajay Kumar N 28,291 Reputation points Microsoft Employee Moderator
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.

Was this answer helpful?

4 people found this answer helpful.

2 additional answers

Sort by: Most helpful
  1. Deleted

    This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.


    Comments have been turned off. Learn more

  2. Deleted

    This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.


    Comments have been turned off. Learn more