Skip to content

Azure Functions VS Code tutorial fails locally due to missing AzureWebJobsStorage configuration #130

@samezyane

Description

@samezyane

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"
}
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions