Reputation: 31
We have an API Management instance with VNet configured in internal mode. We have also added custom domains to all endpoints (Developer Portal, Management, SCM and Gateway). While we are able to access the Developer Portal and call the APIs from within the VNet, accessing API Management instance in Azure portal throws the following error.
"Failed to connect to management endpoint at <> for a service deployed in a virtual network...."
Appropriate ports have been opened and control plane IP Addresses have been configured. Any help or information is appreciated.
Upvotes: 3
Views: 14595
Reputation: 4893
"Failed to connect to management endpoint at <> for a service deployed in a virtual network...."
For the above error , based on the MS DOC the solution is :
We have to route the management endpoint response traffic directly to the internet to avoid response traffic getting dropped by Azure Firewall. This would be achieve by adding routes in the route table associated with APIM subnet.
We have to add user defined routes for the control plane IP address with next hop as internet as shown in above picture. Here we can find more about control plane IP address for the specific region.
For more information please refer this Microsoft documentation : Connect to a virtual network using Azure API Management .
Upvotes: 2