Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Azure Table Storage - 501 NotImplemented on CreateIfNotExistsAsync

I'm using a storage account and account key/creds which I know to work: I have a blob container using exactly the same connection string which works fine.

I'm effectively doing this:

CloudStorageAccount.Parse(_connectionString).CreateCloudTableClient().GetTableReference("MyTableHere").CreateIfNotExistsAsync().Wait()

(I'm not in an async scenario, hence the wait. Has nothing to do with this exception)

It throws an aggregate exception, the single inner exception is:

Unexpected response code, Expected:OK or NotFound, Received:NotImplemented

Deep in the exception:

The requested operation is not implemented on the specified resource. RequestId:30593945-0002-0019-0dde-3e30370003322 Time:2016-11-16T07:58:01.2396651Z - anonymised the request ID here.

Can't think what else to try! Can't find any mention in the docs about any additional requirements here.

like image 806
Kieren Johnstone Avatar asked Nov 16 '16 08:11

Kieren Johnstone


1 Answers

Tables (and also Queues & Files) are not supported by all kinds of storage accounts. As of today Tables, Queues and Files are not supported for Blob Storage kind of storage accounts.

Also for regular storage accounts, these services are not supported for accounts with following redundancy kinds: ZRS (only Block/Append blobs are supported) and Premium LRS (only Page blobs are supported).

like image 137
Gaurav Mantri Avatar answered Sep 28 '22 12:09

Gaurav Mantri