Hi @Mani Agarwal
A 403 Forbidden error when accessing your Azure App Service could be due to several reasons, especially when dealing with virtual network integration and private endpoints.
1.Make sure your NSG rules permit traffic from the frontend to the backend. Verify the NSG is properly configured and is attached to the subnet your backend app service is stationed at.
2.Check that the private endpoint to your backend app service is properly configured. Check whether the DNS configuration is complete and ensure the private DNS zones are linked to your virtual network.
https://learn.microsoft.com/en-us/azure/app-service/tutorial-networking-isolate-vnet#create-private-endpoints
3.Review the access restrictions for your backend app service. Check that the rules that are configured grant traffic from the frontend app service and any other relevant IP addresses.
4.If the backend app service VNet integration displays “Not supported,” that is an indication the App service plan does not support VNet integration. Confirm that your backend app service is either a Premium or Isolated plan since those plans support VNet integration.
https://learn.microsoft.com/en-us/azure/app-service/networking-features
5.Even though the backend app service does not require authentication, if enabled, make sure the frontend app service is set up correctly to authenticate with the backend service.
Kindly refer below documentations:
Configure virtual network integration in your frontend web app
https://learn.microsoft.com/en-us/azure/cosmos-db/nosql/troubleshoot-forbidden#firewall-blocking-requests