Had a bit of head-scratcher today. I was using CreateDocumentAsync to write a new document to the store and the return value was ‘created’ but when I searched for the document it wasn’t there. The problem was that I was using a string for the partition Id when it should have been an INT. Doh.