If you get:
Microsoft.WindowsAzure.StorageClient.StorageClientException: One of the request inputs is out of range.
and inner exception is:
System.Net.WebException: The remote server returned an error: (400) Bad Request.
you probably have to check your table/queue/blob name (I got this when naming a queue with some uppercase characters).
You can read about the limitations in the article “Azure Details and Limitations – Blobs, Tables, and Queues“

I received this error when trying to get a container reference.
var account = CloudStorageAccount.DevelopmentStorageAccount;
var client = account.CreateCloudBlobClient();
var container = client.GetContainerReference(“container_name”);
container.CreateIfNotExist();
I vaguely remembered from my reading of some of the documentation on azure storage that underscores are not allowed. A simple change from “container_name” to “container-name” fixed this problem for me.
Hope this helps someone else out there.
I received this error because of an illegal key in my partition and row key.
http://msdn.microsoft.com/en-us/library/ff803365.aspx
I’ve also found that you can get this error by supplying an invalid user name. I don’t know if usernames have to also be all lowercase, but that was the case for me.
“Out of range” is a pretty unintuitive message for an authentication failure. It had me scratching my head for a good hour.