WEBSITE_CONTENTAZUREFILECONNECTIONSTRING as keyvault reference makes deployment fail
See original GitHub issueDeployment failed. Correlation ID: f171c78c-ad28-4426-aea4-cd9ae0bf57e9. {
"Code": "BadRequest",
"Message": "The parameter 'WEBSITE_CONTENTAZUREFILECONNECTIONSTRING' has an invalid value. Details: Cannot specify key vault references not referencing User Assigned Identity on Create Site.",
"Target": null,
"Details": [
{
"Message": "The parameter 'WEBSITE_CONTENTAZUREFILECONNECTIONSTRING' has an invalid value. Details: Cannot specify key vault references not referencing User Assigned Identity on Create Site."
},
{
"Code": "BadRequest"
},
{
"ErrorEntity": {
"ExtendedCode": "01033",
"MessageTemplate": "The parameter '{0}' has an invalid value. Details: {1}.",
"Parameters": [
"WEBSITE_CONTENTAZUREFILECONNECTIONSTRING",
"Cannot specify key vault references not referencing User Assigned Identity on Create Site"
],
"Code": "BadRequest",
"Message": "The parameter 'WEBSITE_CONTENTAZUREFILECONNECTIONSTRING' has an invalid value. Details: Cannot specify key vault references not referencing User Assigned Identity on Create Site."
}
}
],
"Innererror": null
}
Per comment here: https://github.com/Azure/azure-functions-host/issues/5306#issuecomment-696561132
Issue Analytics
- State:
- Created 3 years ago
- Reactions:8
- Comments:9 (3 by maintainers)
Top Results From Across the Web
Unable to add deployment slot to function app on ...
The WEBSITE_CONTENTAZUREFILECONNECTIONSTRING setting is assigned a value that is a key vault reference. I don't know if that's the source of the ...
Read more >"Key vault reference error" in azure web app configuration ...
I have a private certificate that was generated by azure for a web app for linux containers. I want to pass this value...
Read more >I want to deploy a function app, but ...
When I deploy the template below, the template deployment fails unless I omit the WEBSITE_CONTENTAZUREFILECONNECTIONSTRING property. Without it, ...
Read more >Troubleshooting Azure Key Vault References in ...
A handy guide for beginners to troubleshoot Azure Key Vault reference errors in Functions App.
Read more >Securing serverless applications in Azure - Part 3/4 Store ...
To do this you will need to deploy an Azure Key Vault, ... grant a Function App access to retrieve those secrets using...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Currently - WEBSITE_CONTENTAZUREFILECONNECTIONSTRING as a key vault reference is not supported for creation, it can only be the full connection string. Then, it can be updated to use key vault references
Figured out my error on applying app settings after function app deployment