I think, I get the error when my local.settings.json
file is not correct (or missing). To run locally, you need this file, and the AzureWebJobsStorage
key should have a working connection string to a storage account.
You can run the following command to sync the file locally:
func azure functionapp fetch-app-settings YOURFUNCTIONAPPNAME
(I assume you use the azure function core tools)