Tutorial page:
https://microsoftlearning.github.io/mslearn-azure-developer/instructions/azure-functions/01-functions-create-vscode-http.html
Issue:
Following the tutorial as-is results in a runtime failure when running locally.
Error:
System.InvalidOperationException: A connection string was not found. Please set your connection string.
Details:
- Azure Functions Core Tools: 4.11.0
- Runtime: dotnet-isolated
- The tutorial does not mention configuring AzureWebJobsStorage in local.settings.json
- As a result, the function host fails to start
Expected behavior:
The tutorial should include:
- local.settings.json setup
- Either Azurite instructions OR real storage connection
Suggested fix:
Add a step to configure:
{
"Values": {
"AzureWebJobsStorage": "UseDevelopmentStorage=true"
}
}
Tutorial page:
https://microsoftlearning.github.io/mslearn-azure-developer/instructions/azure-functions/01-functions-create-vscode-http.html
Issue:
Following the tutorial as-is results in a runtime failure when running locally.
Error:
System.InvalidOperationException: A connection string was not found. Please set your connection string.
Details:
Expected behavior:
The tutorial should include:
Suggested fix:
Add a step to configure:
{
"Values": {
"AzureWebJobsStorage": "UseDevelopmentStorage=true"
}
}