0
votes

I created a web job, deployed it. Got an error:

The configuration is not properly set for the Microsoft Azure WebJobs Dashboard. In your Microsoft Azure Website configuration you must set a connection string named AzureWebJobsDashboard by using the following format DefaultEndpointsProtocol=https;AccountName=NAME;AccountKey=KEY pointing to the Microsoft Azure Storage account where the Microsoft Azure WebJobs Runtime logs are stored.

I have read this: https://stackoverflow.com/a/34125299/285336 that I have to add AzureWebJobsDashboard as connection string via portal.

I did it: enter image description here

(I sure, that I use https protocol) enter image description here

saved, restarted application. But error is the same! Why so and how to fix it?

1

1 Answers

0
votes

Problem was in my code (which was a dummy for that moment), but by unknown reason the error about AzureWebJobsDashboard shown (even when AzureWebJobsDashboard is set). When I fixed my error I see the following page:

enter image description here

so, as we can see, web job is completed successfully, but "fake" error about AzureWebJobsDashboard is shown.

Also, there are no necessary to configure any connection strings via portal at all. For now, it's enough to set it in app.config. Version of Web Job Tools is 15.0.31201.0