I have an Azure app with two App Services. App Service A calls an API on App Service B.
I want to use Private Link to make sure the traffic between them is private and not going through public IP. So here is what I did:
Created a new VNet
Configured Private Endpoint from the two App Services to the new VNet, with Private DNS Integration
Made sure the Private DNS got created, is linked to the new VNet, and both the services are registered in it.
Made sure both the services are not accessible publicly (I get 403)
For testing: Created a new VM in the VNet, and made sure I can browse from the VM to the services. Works fine. I browsed the services using their original URL: serviceX.azurewebsites.net.
However - when I try to call service B from service A (using the same URL - serviceb.azurewebsites.net), I get 403 (Forbidden).
What am I missing?
How can I make two app services connected with Private Link to the same VNet connect with each other?