mcollier / logic-app-standard-dev-container-sample

4 stars 4 forks source link

Secret initialization from Blob storage failed #2

Open reza8iucs opened 1 year ago

reza8iucs commented 1 year ago

Hi,

Does anyone know why I get the following error when trying to debug the logic app? All Azurite services are up and listening

Thanks

Azure Functions Core Tools
Core Tools Version:       4.0.5198 Commit hash: N/A  (64-bit)
Function Runtime Version: 4.21.1.20667

[2023-08-25T22:46:13.451Z] A host error has occurred during startup operation '212d9442-743e-48c2-8366-0adafeade3ef'.
[2023-08-25T22:46:13.452Z] Microsoft.Azure.WebJobs.Script.WebHost: Secret initialization from Blob storage failed due to missing both an Azure Storage connection string and a SAS connection uri. For Blob Storage, please provide at least one of these. If you intend to use files for secrets, add an App Setting key 'AzureWebJobsSecretStorageType' with value 'Files'.
Value cannot be null. (Parameter 'provider')
[2023-08-25T22:46:13.475Z] Host startup operation has been canceled

 *  The terminal process "/bin/bash '-c', 'func host start'" terminated with exit code: 1. 
 *  Terminal will be reused by tasks, press any key to close it. 
reza8iucs commented 1 year ago

solved the problem by adding "AzureWebJobsStorage": "UseDevelopmentStorage=true" to the local.settings.json