Skip to content

Fail to create a Slot with KeyVault reference #1934

@mortezasoft

Description

@mortezasoft

While trying to create a new Slot, I faced this issue.

Bildschirmfoto 2020-02-27 um 13 45 37

WEBSITE_CONTENTAZUREFILECONNECTIONSTRING config is using @Microsoft.KeyVault reference and function is consumption based.

Repro steps:

  1. use @Microsoft.KeyVault in WEBSITE_CONTENTAZUREFILECONNECTIONSTRING config in an azure function app.
  2. try to create a new Slot.

Action: azureFunctions.createSlot
Error type: BadRequest
Error Message: The parameter 'WEBSITE_CONTENTAZUREFILECONNECTIONSTRING' has an invalid value. Details: Cannot specify key vault references not referencing User Assigned Identity on Create Site.

Version: 0.20.2
OS: darwin
Product: Visual Studio Code
Product Version: 1.42.1
Language: en

Call Stack
extension.bundle.js:218:2910489
s extension.bundle.js:218:111756
s extension.bundle.js:164:25792
extension.bundle.js:164:27036
o extension.bundle.js:164:674848
extension.bundle.js:164:24705
$._callback extension.bundle.js:1:635041
$.t._callback.t.callback.t.callback extension.bundle.js:194:5590
$.emit events.js:200:13
$.<anonymous> extension.bundle.js:194:18450
$.emit events.js:205:15
IncomingMessage.<anonymous> extension.bundle.js:194:17282
Object.onceWrapper events.js:288:20
IncomingMessage.emit events.js:205:15
endReadableNT _stream_readable.js:1154:12
processTicksAndRejections task_queues.js:84:9

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions