I found a bug in the October release of the Azure SDK.
If you try to use the CloudStorageAccount.Parse() method with a connection string of UseDevelopmentServer=true, the October release of the Azure SDK (18.104.22.168) throws a ‘Key not present in dictionary’ exception.
This is a bug in the SDK (it is expecting the DevelopmentStorageProxyUri in the connection string). The workarounds are,
1. Dont use the emulator
2. Setup a proxy and pass the DevelopmentStorageProxyUri as part of the connection string
3. Use the CloudStorageAccount.DevelopmentStorageAccount property instead
Number 3 is easiest for a quick workaround. I ended up doing this,
public static CloudStorageAccount CreateCloudStorageAccount()
if (System.Configuration.ConfigurationManager.AppSettings["AzureStorageConnectionString"] == "UseDevelopmentStorage=true")
result = CloudStorageAccount.DevelopmentStorageAccount;
result = CloudStorageAccount.Parse(System.Configuration.ConfigurationManager.AppSettings["AzureStorageConnectionString"]);
Pretty lame but it got everyone up and running with minimal environment changes.