It was due to duplicate RowKey
values. Even with TableBatchOperation.InsertOrReplace(entities)
, the row keys still need to be unique.
Unexpected response code for operation : 6
was referring to the 6th element in the list. The error codes in the Azure SDK are very misleading in my opinion.