-
Notifications
You must be signed in to change notification settings - Fork 144
Open
Description
Does this occur consistently? Yes
Repro steps:
- Create a function app (Linux consumption plan in my case) with the AzureWebJobsStorage setting as a Key Vault reference
- Publish a function to the function app using the command line, e.g. func azure functionapp publish myfuncapp
Action: azureFunctions.deploy
Error type: SyntaxError
Error Message: Connection string contains unrecognized key: "@Microsoft.KeyVault(SecretUri"
Version: 0.22.1
OS: win32
OS Release: 10.0.17763
Product: Visual Studio Code
Product Version: 1.45.1
Language: en
Call Stack
Object.n.parseAndValidateKeys extension.bundle.js:164:194630
Function.StorageServiceSettings.createFromConnectionString extension.bundle.js:281:136192
Function.StorageServiceClient.getStorageSettings extension.bundle.js:281:88497
new BlobService extension.bundle.js:281:168385
Object.n.createBlobService extension.bundle.js:164:174251
extension.bundle.js:281:29965extension.bundle.js:281:29965
fulfilled extension.bundle.js:281:29201
processTicksAndRejections task_queues.js:85:5