You can get the latest Storage Emulator as a standalone installer (not part of the SDK) at the Azure Download page under "Command line tools".
![azure storage emulator bad request azure storage emulator bad request](https://docs.microsoft.com/en-us/azure/storage/common/media/storage-explorer-troubleshooting/4022502_en_2.png)
If you encounter a VersionNotSupportedByEmulator (400 Bad Request).
#Azure storage emulator bad request upgrade
You need to upgrade to the latest version of the Storage Emulator. You should compare you and your colleagues. I am very new to working with Azure, so I wouldn't be surprised if there is something minor I am missing. I deleted the storage container and recreated as GRS and now it works fine. The Azure Tables client can be used to access Azure Storage or Cosmos accounts. As per the Overview of Running a Windows Azure Application with Storage Emulator reference, the emulator needs a local SQL Server instance. Tables scales as needed to support the amount of data inserted, and allow for the storing of data with non-complex accessing. This emulator (which comes in the Windows Azure SDK - see the 'other' category), allows you to test locally against local instances of Blob, Queue and Table services. NET, since this is the last supported version of VS 2012.īased on the simplicity of the code, I imagine this is an issue with the environment. Users attempting to develop against the current version of the Storage emulator will receive Bad Request errors in the interim. I was getting a 400 Bad Request because I was using ZRS (Zone Redundant Storage), and Analytics isnt available for this type of storage. Azure Tables is a NoSQL data storage service that can be accessed from anywhere in the world via authenticated calls using HTTP or HTTPS. I have installed version 2.6 of Azure SDK for.
![azure storage emulator bad request azure storage emulator bad request](https://i.stack.imgur.com/Qw12L.png)
I have found some cases where this might be a SDK version issue.
#Azure storage emulator bad request code
This is an example of code that fails: CloudStorageAccount storageAccount = CloudStorageAccount.Parse("UseDevelopmentStorage=true") ĬloudBlobClient blobClient = storageAccount.CreateCloudBlobClient() ĬloudBlobContainer container = blobClient.GetContainerReference("mycontainer") Ĭontainer.CreateIfNotExists() // This is where it fails I am trying to perform some simple actions with the Azure storage emulator and consistently encounter the exception "The remote server returned an error: (400) Bad Request." Going into RequestInformation>ExtendedErrorInformation I also see "The value for one of the HTTP headers is not in the correct format."