Jaliya Udagedara 8/9/2025

Azure Automation Runbooks and Azure Cosmos DB for MongoDB

Read Original

This technical article details a solution for running scheduled jobs on Azure Cosmos DB for MongoDB using Azure Automation Runbooks. It explains the limitations of Logic Apps for this specific database type and provides a step-by-step tutorial on creating a Python 3.10 Runbook, adding the required pymongo package, and writing the connection and query code to interact with the MongoDB-compatible Cosmos DB instance.

Azure Automation Runbooks and Azure Cosmos DB for MongoDB

Comments

No comments yet

Be the first to share your thoughts!

Browser Extension

Get instant access to AllDevBlogs from your browser