Tuesday, September 18, 2018

Azure ARM Template Error Deploying Certificate From Key Vault: The parameter certificateEnvelope.Properties.KeyVaultId has an invalid value.

I've been deploying an App Service along with an SSL certificate that's stored in a Key Vault.  After renaming the Key Vault, I've been getting the following error when deploying the SSL certificate to my App Service via an ARM Template.


"The parameter certificateEnvelope.Properties.KeyVaultId has an invalid value." 
"Message": "The parameter certificateEnvelope.Properties.KeyVaultId has an invalid value."

To get this fixed, I had to delete the App Service, which I think fixed the problem because it removed the certificate that was deployed from the original Key Vault altogether from Azure.

Here's the article that helped solve my issue: