Search code examples
azureazure-webjobsazure-webjobssdkwebjobazure-webjobs-continuous

Microsoft.WindowsAzure.Storage.StorageException: 'The remote server returned an error: (400) Bad Request


I have created a new project in VS 2017 using Azure Webjobs ( .NET Framework ) template.

enter image description here

After that I have included valid values for AzureWebJobsDashboard and AzureWebJobsStorage in App.config file.

After running the sample I am getting below error message.

Microsoft.WindowsAzure.Storage.StorageException: 'The remote server returned an error: (400) Bad Request

Any idea whats missing?

enter image description here


Solution

  • Azure Storage offers several types of storage accounts. It seems that you are using the Blob storage account.(I encountered the same issue if I use this type) You need to use general-purpose v2 accounts instead.

    enter image description here