Hi !! Every time we need to populate a sample database, we have to start writing a tool again, because we forget where the previous tool is. hahahahaha !!!! It's true !!! It has happened to me many times. Ok, here is. Lets start !! Step 1. Create Sample Data Base and Collection in CosmosDB Step 2 Collection ready to insert random values Step 3. Create C# Project Console in Visual Studio Step 4. C# Code Your EndPointURL and PrimaryKey are defined in Keys "Section" inside Cosmos DB. See image below. The following image illustrate some helpers methods to generate random values and the entity class definition. Step 5. Run example, results , queries Query 1 Query 2 Code (Program.cs) See you late !!!