You can use this .NET tool by creating an artifact from JSON documents and then deploy the artifact to an Azure Cosmos DB account, works well with build/release Azure DevOps pipelines: https://github.com/alexanderkozlenko/cotopaxi