简体   繁体   中英

Azure APIM Instance - Failed to update API management service hostnames

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.

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.

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM