I'm working on this with a cosmosdb, I got everything working to a certain degree, but when i am posting a json object, the item is created in cosmos, but it adds a random $id field with the value of 1, this isn't incrementing with any subsequent additions. I can't find anywhere which is generating it or somewhere to specify the incrementing nature of it.
Can anyone help me figure out what is going on and how either i can stop the $id field being generated, or how to get it to autoincrement