Azure Cosmos DB Blog
The latest news, updates and technical insights from the Azure Cosmos DB team
Latest posts
Introducing the Azure Cosmos DB Plugin for Cursor
We're excited to announce the Cursor plugin for Azure Cosmos DB bringing AI-powered database expertise, best practices guidance, and live database connectivity directly into your coding workflow. Whether you're designing a new data model, optimizing queries, or building a RAG application with vector search, the Cursor plugin gives your AI assistant deep knowledge of Azure Cosmos DB so you can write better code, faster. What's in the Plugin The Azure Cosmos DB plugin bundles three capabilities: Finding and Installing the Plugin From the Cursor Marketplace That's it. The rules ar...
Azure Cosmos DB at FOSSASIA Summit 2026: Sessions, Conversations, and Community
The FOSSASIA Summit 2026 was an incredible gathering of developers, open-source contributors, startups, and technology enthusiasts from across the region. This year, Azure Cosmos DB and Azure DocumentDB were present at the summit with both technical sessions and a dedicated booth, giving us a great opportunity to connect with the community and talk about building modern applications with cloud-native databases. A Personal Note This was my third time attending FOSSASIA, and it was special in many ways. It was also my first time attending the summit in Bangkok, Thailand, and the venue and overall experience w...
Now Generally Available: Cosmos DB Mirroring in Microsoft Fabric with Private Networks
We’re excited to announce the general availability of private network support for Azure Cosmos DB mirroring in Microsoft Fabric, enabling customers to replicate operational data into Fabric from Azure Cosmos DB accounts secured with private endpoints or virtual networks while continuing to operate within their existing network security models. As more organizations connect operational data with analytics and AI to power new insights and intelligent applications, the ability to do so securely has become increasingly important—making private network support a key capability for bringing operational data into Fabric...
A Look Ahead at Azure Cosmos DB Conf 2026: From AI Agents to Global Scale
Join us for Azure Cosmos DB Conf 2026, a free global, virtual developer event focused on building modern applications with Azure Cosmos DB. This year, Azure Cosmos DB Conf will feature 21 speakers from across the globe, bringing together Microsoft engineers, community leaders, architects, and developers to share how they are building modern applications with Azure Cosmos DB. Attendees will hear directly from experts using Azure Cosmos DB to power real systems—from AI agent memory architectures and retrieval-augmented generation pipelines to globally distributed event-driven micros...
Azure DocumentDB: A Fully Managed MongoDB-Compatible Database
Running MongoDB at scale eventually forces a trade-off: invest heavily in managing your own infrastructure or move to a managed service and risk losing the compatibility and portability your team depends on. Azure DocumentDB is a fully managed, MongoDB-compatible database on Azure, built on an MIT-licensed open-source engine that runs consistently across on-premises, hybrid, and cloud environments. Developers keep the skills and tooling they already have. Infrastructure teams get a pricing model built on compute and storage, with no licensing fees and no throughput unit calculations. Key Capabilities ...
Maximize Azure Cosmos DB Performance with Azure Advisor Recommendations
In the first post of this series, we introduced how Azure Advisor helps Azure Cosmos DB users uncover opportunities to optimize efficiency and make smarter decisions. This follow-up dives deeper into one of the most important categories of guidance: performance. If you've ever dealt with skewed workloads, unexpected RU consumption, or queries that don’t scale as expected, Azure Advisor surfaces exactly the insights you need to diagnose and improve them. In this post, you’ll learn what performance recommendations Advisor provides, why they matter, and how you can use them to enhance the speed, reliability, a...
Building AI-Powered Apps with Azure Cosmos DB and the Vercel AI SDK
The Vercel AI SDK is an open-source TypeScript toolkit that provides the core building blocks for integrating AI into any JavaScript application. It works with 20+ AI providers out of the box—including OpenAI, Azure OpenAI, Anthropic, Google, Mistral, and more—so you can write your code once and switch providers by changing a single import. At its core, the SDK handles streaming (responses appear word-by-word instead of making users wait), tool calling (allowing the AI to invoke your functions, such as querying a database), and multi-step agentic reasoning, where the AI chains multiple tool calls together to a...
How to Enable Microsoft Entra ID for Azure Cosmos DB (NoSQL)
Strengthen Identity Security and Eliminate Account Keys Identity is becoming the new security perimeter. As organizations modernize their cloud applications, long‑lived secrets and shared keys introduce unnecessary risk. Azure Cosmos DB now fully supports Microsoft Entra ID for both control plane and data plane access, giving customers a secure, passwordless, least‑privilege alternative to legacy key‑based authentication. This blog walks through why customers are moving to Entra ID, what changes when you disable local authentication, and how to configure modern RBAC for Cosmos DB. Why Move to Microsoft Entra...
Part 2: Building a Python CRUD API with Azure Functions and Azure Cosmos DB
Series: Building Serverless Applications with Azure Functions and Azure Cosmos DB In the first post of this series, we focused on establishing the fundamentals of serverless architecture by building and deploying a simple HTTP API using Azure Functions and FastAPI. The post centred on serverless compute, showing how Azure Functions handles execution, scaling, and infrastructure management while FastAPI provides a modern, developer-friendly API framework. In this post, we extend that foundation by introducing serverless data. You’ll build a Python-based CRUD inventory API and persist data using Azure Cosmos DB...
Azure Cosmos DB Data Explorer now supports Dark Mode
If you spend time in the Azure Portal’s using Azure Cosmos DB Data Explorer, you know it’s a “lots of screens, lots of tabs, lots of work happening” kind of place. So I’m excited to share a small upgrade that makes a big difference: Dark Mode is now supported in Cosmos DB Data Explorer. It just works with Azure Portal Dark Mode If you already have Dark Mode enabled in the Azure Portal, Data Explorer will automatically switch to dark with it. No extra setup, no separate preference buried in a panel somewhere. If you want to switch on the on demand, you can also use the sun/moon toggle in the Data Explorer...
Azure Cosmos DB TV Recap – From Burger to Bots – Agentic Apps with Cosmos DB and LangChain.js | Ep. 111
In Episode 111 of Azure Cosmos DB TV, host Mark Brown is joined by Yohan Lasorsa to explore how developers can build agent-powered applications using a fully serverless architecture. This episode focuses on a practical, end-to-end example that demonstrates how transactional application data and AI-driven experiences can coexist on a single platform without introducing additional infrastructure or operational overhead. The session walks through a sample application inspired by a familiar business scenario: a simple ordering system. What begins as a traditional REST-based business API evolves into an agent-enabl...
Accelerate Your Cosmos DB Infrastructure with GitHub Copilot CLI and Azure Cosmos DB Agent Kit
Modern infrastructure work is increasingly agent driven, but only if your AI actually understands the platform you’re deploying. This guide shows how to turn GitHub Copilot CLI into an Azure Cosmos DB aware infrastructure expert by loading the Azure Cosmos DB Agent Kit. In under a minute, you’ll give Copilot deep, opinionated knowledge of Azure Cosmos DB best practices so it can review, generate, and optimize your Terraform, Bicep, Docker, and CI/CD configurations directly from your terminal. TL;DR — Get Started in 30 Seconds That's it! Copilot CLI now has expert-level Azure Cosmos DB infrastructure knowl...
Azure Cosmos DB TV Recap: Supercharging AI Agents with the Azure Cosmos DB MCP Toolkit (Ep. 110)
In Episode 110 of Azure Cosmos DB TV, host Mark Brown is joined by Sajeetharan Sinnathurai to explore how the Azure Cosmos DB MCP Toolkit is changing the way developers build, deploy, and scale AI agents using real application data. As agentic AI systems evolve, one challenge continues to surface: securely and consistently connecting AI agents to operational data—without rewriting integration logic for every platform. This episode takes a deep dive into how the Model Context Protocol (MCP), along with Azure Azure Cosmos DB’s implementation, addresses that challenge. Why MCP Matters for AI Agents At its cor...
Introducing the Azure Cosmos DB Agent Kit: Your AI Pair Programmer Just Got Smarter
The Azure Cosmos DB Agent Kit is an open-source collection of skills that teaches your AI coding assistant (GitHub Copilot, Claude Code, Gemini CLI) expert-level Azure Cosmos DB best practices. Install with one command, get production-ready guidance instantly. The Challenge Every Azure Cosmos DB Developer Faces You're building a new application with Azure Cosmos DB. You've got your data, you've got your queries, but then come the questions that keep you up at night: These aren't trivial questions. Poor decisions here can mean the difference between a blazing-fast application and one that...
Part 1: Building Your First Serverless HTTP API on Azure with Azure Functions & FastAPI
Introduction This post is Part 1 of the series Serverless Application Development with Azure Functions and Azure Cosmos DB, where we explore how to build end-to-end serverless applications using Azure Functions for compute and Azure Cosmos DB for storage. Together, these services allow you to build scalable, event-driven, cost-efficient cloud solutions without managing servers or infrastructure. Throughout the series, you’ll progressively build real application components starting with simple HTTP APIs, adding persistent storage, implementing event-driven patterns using the Cosmos DB Change Feed, and orches...
Azure Cosmos DB Conf 2026 — Call for Proposals Is Now Open
Every production system has a story behind it. The scaling limit you didn’t expect. The data model that finally clicked. The tradeoff you had to make under real-world pressure. The solution that worked—and the lessons you’d pass on to the next team. Azure Cosmos DB Conf 2026 is where those stories get shared. This is a global, developer-first conference focused on real-world engineering with Azure Cosmos DB, Azure DocumentDB, and open-source DocumentDB. It’s about showing how things actually work in production—through real architecture, real code, and live demos—not high-level concepts or marketing ...
Powering Real-Time Gaming Experiences with Azure Cosmos DB for NoSQL
Scenario: When Every Millisecond Counts in Gaming Imagine millions of players logging in at the exact moment a new game season launches. Leaderboards light up, achievements tally, and in-game shops buzz with transactions. In these high-stakes moments, speed and reliability aren’t optional, they’re mission critical. That’s where Azure Cosmos DB with the NoSQL API steps in, powering real-time, global gaming experiences without missing a beat. Why Gaming Needs a Next-Gen Database Modern gaming experiences must withstand massive user surges, where game launches and updates can trigger huge spikes in concurrent p...
Public Preview: Cosmos DB Mirroring in Microsoft Fabric with Private Endpoints
We are very excited to announce the public preview for private endpoint support for Azure Cosmos DB Mirroring with Microsoft Fabric mirroring. This feature allows you to preserve the enhanced network security on your data in Cosmos DB from virtual networks or private endpoints, allowing you to seamlessly replicate your operational data in Cosmos DB using Mirroring into your Fabric Workspaces. Configuring Mirroring with Private Endpoints The process for configuring Mirroring on your Cosmos DB accounts with private endpoints during our preview requires multiple steps. To see these steps in detail...
Build AI Tooling in Go with the MCP SDK – Connecting AI Apps to Databases
A hands‑on walkthrough of building MCP servers that can plug AI applications into Azure Cosmos DB The Model Context Protocol (MCP) has established itself as the ubiquitous standard for connecting AI applications to external systems. Since its release, there have been implementations across various programming languages and frameworks, enabling developers to build solutions that expose data sources, tools, and workflows to AI applications. For Go developers, however, the journey to an official MCP SDK took longer (compared to other SDKs like Python and TypeScript). Discussions and design/implementation w...
How Azure Cosmos DB Powers ARM’s Federated Future: Scaling for the Next Billion Requests
The Cloud at Hyperscale: ARM’s Mission and Growth Azure Resource Manager (ARM) is the backbone of Azure’s resource provisioning and management, orchestrating billions of daily requests from customers around the globe. ARM manages all resources for Azure: VMs, Storage, Databases, etc. As Azure’s reach expands and customer expectations rise, ARM’s architecture must not only keep pace—it must set the pace for cloud-scale reliability, agility, and innovation. In recent years, ARM has seen its request volume surge at an exponential rate, reaching unprecedented levels that continually redefine the boundaries of c...
Unlock the power of distributed graph databases with JanusGraph and Azure Apache Cassandra
Connecting the Dots: How Graph Databases Drive Innovation In today’s data-rich world, organizations face challenges that go beyond simple tables and rows. Whether it’s uncovering hidden relationships in social networks, detecting fraud, or powering recommendation engines, graph databases offer a unique way to model and analyze complex connections. JanusGraph, an open-source graph database, combined with Azure Managed Instance for Apache Cassandra, provides a scalable, secure, and flexible foundation for building graph-powered applications making it easier for teams to tackle problems that traditional database...
Azure Cosmos DB vNext Emulator: Query and Observability Enhancements
The Azure Cosmos DB Linux-based vNext emulator (preview) is a local version of the Azure Cosmos DB service that runs as a Docker container on Linux, macOS, and Windows. It provides a cost-effective way to develop and test applications locally without requiring an Azure subscription or network connectivity. The latest release brings improvements in two key areas: Query Improvements This emulator release enables several query patterns that were previously unsupported. In this post, we'll focus on the following enhancements to query capabilities: Let's explore these with practical...
Azure Cosmos DB : Becoming a Search-Native Database
For years, “Database” and “Search systems" (think Elastic Search) lived in separate worlds. While both Databases and Search Systems operate in the same domain (storing, indexing and querying data), they prioritized different aspects. OLTP Databases prioritized Search Systems prioritized AI and Agents are accelerating the dissolution of the boundary between these two systems. AI solves real world problems in near-real-time that needs both of these systems. Using separate systems for these specializations not only leads to high overhead, but leads to sub-optimal relevanc...
Long-term data retention up to 10 years: Announcing Private Preview of Azure Backup for Azure Cosmos DB
Azure Backup for Azure Cosmos DB is a new option that lets you securely protect and recover your Azure Cosmos DB data for compliance, audit, and ransomware protection scenarios. It leverages Azure Backup’s vault isolation and Azure Cosmos DB’s native backup streams to deliver scalable, long-term data protection that meets regulatory requirements. How does it work? During the private preview, you can configure backup schedules and retention policies at the Azure Cosmos DB account or collection level, stream backups to a vaulted, isolated Azure Backup Vault, and restore data to an empty Azure Cosmos DB account in...
Tata Neu delivers personalized shopping experiences for millions of users with Azure DocumentDB
With Azure DocumentDB, Tata Neu delivers seamless authentication for millions of users, accelerates credit card onboarding across partners, unifies loyalty programs for hundreds of millions of members, and powers AI-driven support experiences across more than 60 brands. This article is coauthored by Anurag Mathur, the VP and Head of Foundational Services at Tata Digital, and Bhaskar Chellappa, the VP and Head of TechOps at Tata Digital Introducing Tata Neu: Tata Digital's unified app Tata Neu is designed to deliver an extensive yet highly personalized shopping experience. The culmination of more than t...
Announcing: Dynamic Data Masking for Azure Cosmos DB (Preview)
Today marks a big step forward with the public preview of Dynamic Data Masking (DDM) for Azure Cosmos DB. This feature helps organizations protect sensitive data without requiring changes to application logic or database interactions. What is Dynamic Data Masking? Dynamic Data Masking (DDM) is a server-side, policy-driven security feature that automatically masks sensitive information for non-privileged users. When enabled, DDM ensures that only authorized users can view unmasked data, while others see masked or redacted values. The original data remains unchanged in the database, and masking occurs in real tim...
Use Azure SRE Agent with Azure Cosmos DB: Smarter Diagnostics for Your Applications
We’re excited to announce the Azure Cosmos DB SRE Agent built on Azure SRE Agent; a new capability designed to simplify troubleshooting and improve reliability for your applications running on Azure Cosmos DB. Some key features of Azure Cosmos DB SRE Agent are: Benefits of using Azure Cosmos DB SRE Agent Managing distributed applications can be complex. The Azure Cosmos DB SRE Agent bridges the gap by: Azure Cosmos DB SRE Agent Scenario Integrating Azure SRE Agent with your Azure Cosmos DB resource can leverage diagnostics to help identify issues or areas for improvement....