question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

WEBSITE_CONTENTAZUREFILECONNECTIONSTRING as keyvault reference makes deployment fail

See original GitHub issue
Deployment 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:open
  • Created 3 years ago
  • Reactions:8
  • Comments:9 (3 by maintainers)

github_iconTop GitHub Comments

11reactions
mhoegercommented, Jan 25, 2021

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

3reactions
haroldwongmscommented, Jan 28, 2021

Figured out my error on applying app settings after function app deployment

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found