Skip to main content

Import JSON into Cosmos DB

Hands-On Lab


Photo of

Training Architect





Azure Cosmos DB is Microsoft's globally distributed, multi-model database service. With a click of a button, Cosmos DB enables you to elastically and independently scale throughput and storage across any number of Azure regions worldwide. In this hands-on lab, we will export a table from our sample Azure SQL database to a JSON-formatted file. We will then use MongoImport to import this data into our Cosmos DB account as a new collection using PowerShell.

What are Hands-On Labs?

Hands-On Labs are scenario-based learning environments where learners can practice without consequences. Don't compromise a system or waste money on expensive downloads. Practice real-world skills without the real-world risk, no assembly required.