Reputation: 1109
I am facing some strange issues while deploying my Azure API Management instance to a virtual network in internal mode. Essentially, I am following this article from Microsoft. Deploy Azure APIM Internal to a Virtual Network
I have listed below the steps that I have performed and the results of that as well.
What I did so far that went well.
The issue that I am facing during VNET Integration.
Selected VNET-1, Subnet-APIM & Pub-IP-1 > Apply > Save.
10.I checked the activity logs too and found an entry "Create or Update API Management Service instance" -- Succeeded but the Virtual Network was still not integrated as I am not able to see the Private IP of the APIM instance on the portal.
Any help will be appreciated.
I tried a new deployment and this time got the below error.
{
"status": "Failed",
"error": {
"code": "ActivationFailed",
"message": "API Management service uses Azure Storage to download the service configuration.\nThe service deployment failed to connect to an Azure Storage account from inside the Virtual Network. \n 1. Please ensure an Azure Storage Account DNS can be resolved, if using a Custom DNS Server.\n2. Please ensure that there is NSG / Firewall allows outbound to `AzureStorage` ServiceTag from the Virtual Network subnet where deployment is being attempted.\nPlease review other common network configuration and troubleshooting information at https://aka.ms/apim-vnet-common-issues"
}
}
Upvotes: 2
Views: 2193
Reputation: 6507
If you have followed the MS Docs and created all the associated resource like virtual network, NSG and public IP addresses as given in the documentation, then you should be able to enable internal virtual network in APIM.
I have created the above mentioned resources and then enabling internal virtual network in APIM.
Then I got successfully configured message but then there was a banner with Service is being updated message appears at the top. It look around 30-40 min to disappear in my case. When I navigated to Networks blade, I was able to see the virtual network details.
I am also see the Private IP in Overview blade.
I would suggest you to try adding the virtual network one more time but please ensure to add it to single instance at a time.
Upvotes: 1