1

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

Tony Ju
  • 14,891
  • 3
  • 17
  • 31
user2243747
  • 2,767
  • 6
  • 41
  • 61

2 Answers2

1

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

Tony Ju
  • 14,891
  • 3
  • 17
  • 31
0

If you use MyException.ToString(), maybe you'll find somewhere in there that says: The specifed resource name contains invalid characters.

Then you can change your container name from Test1 to test1 because it doesn't like uppercase characters.

B H
  • 1,730
  • 18
  • 24