0

I am trying to update APIM custom domains with new certificates from the KeyVault. But it fails with the message "Failed to update API management service hostnames" with some CorrelationID.

I tried to delete the domain from the custom domain list, still the same here. Has anyone faced similar issue? Any leads will be helpful.

2 Answers2

0

Failed to update API management service hostnames

  • This error usually occurs when you try to use an Azure Key Vault certificate to add a custom domain to your API Management service.
  • This is because the API Management service does not have permission to access the key vault for the custom domain you're trying to use.
  • You can refer this MSFT documentation, where one of the work around for this type of error is given.
0

I fixed the issue.

So basically, I had two custom domains for which the certificates were expired. I was trying to update one of them with new certificate. But it failed all the time.

So the solution is delete all the custom domains that have expired certificates, save them and add the domains again with new certificates.