Search code examples
azureazure-functionsazure-storage-emulator

Azure Storage Emulator Connection string for Azure Function Queue Trigger


Code

error

What should be the connection string?

i used http://127.0.0.1:10001/devstoreaccount1

got almost the same error


Solution

  • See the sample of function.json

    Value of connection should be the name of app setting in local.settings.json, like

    "connection": "AzureWebJobsStorage"
    

    And in local.settings.json, set the name&value pair.

    "AzureWebJobsStorage": "UseDevelopmentStorage=true",