Microsoft.Azure.WebJobs.Script: Error configuring services in an external startup class. Azure.Storage.Blobs: Value cannot be null. (Parameter 'connectionString').

Javier Ríos Gabella 10 Reputation points
2024-04-11T09:49:00.3033333+00:00

I have published a function from Visual Studio 22 but I get two errors. I go to the configuration in Function App to see the value of AzureWebJobsStorage. In this place I saw AzureWebJobsStorage 's value and It is same connectionString of my Visual Studio solution (the string I get from Storage Account > Access keys).

I don't know why AzureWebJobsStorage return a fail: Microsoft.Azure.WebJobs.Script: Error configuring services in an external startup class. Azure.Storage.Blobs: Value cannot be null. (Parameter 'connectionString').

FunctionError

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
5,909 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Javier Ríos Gabella 10 Reputation points
    2024-05-10T10:47:09.7866667+00:00

    The solution: you have to go to Function Api > Environment variables > App settings and add the variables that we have in the project in the local.settings.json file.

    1 person found this answer helpful.
    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.