Azure Cosmos DB Blog

The latest news, updates and technical insights from the Azure Cosmos DB team

Latest posts

Jul 6, 2026
Post comments count 0
Post likes count 0

See our new Azure Cosmos DB Design Patterns

Mark Brown

Design patterns are where good data modeling lives or dies. In a NoSQL database like Azure Cosmos DB, the difference between a schema that scales to millions of operations per second and one that fights you at every turn usually comes down to a handful of well‑understood patterns: how you partition, how you version, how you fan out work, how you keep concurrent writers from stepping on each other. That's exactly what the Azure Cosmos DB Design Patterns repo is for. It's a growing, hands‑on collection of small, focused samples — each one isolates a single pattern, explains why it matters, and lets you run it your...

Jul 6, 2026
Post comments count 0
Post likes count 0

Need a different partition key in Azure Cosmos DB? Pick the right approach

Abhishek Gupta

Once you create a container, its partition key is fixed at creation, and you can’t change it in place. However, if your original key starts causing problems like cross-partition queries or hot partitions, you need to consider your options for changing it. This post explains the mechanics of changing a partition key, and the tradeoffs between the options. First, think about the intent of your change: Note that every “change the partition key” option is actually a move: get your data into a new container that has the new key, then point your app at it. The exception is a Global Secondary Index, whic...

Jun 29, 2026
Post comments count 0
Post likes count 0

Spring AI 2.0 is GA: Vector Search, Memory, and Agents on Azure Cosmos DB

Theo van Kraay

The wait is over. Spring AI 2.0 is generally available, and Azure Cosmos DB is right there with it. With this release, Spring AI graduates into a mature, production-ready framework for building AI applications in Java, and Azure Cosmos DB ships dedicated, vendor-maintained integrations that plug straight into the Spring AI ecosystem. The Spring AI 2.0 GA announcement names Azure Cosmos DB among its vendor-maintained modules, maintained directly by Microsoft rather than the core Spring AI team. This means the integration is built and supported by the engineers who work on Cosmos DB itself, bringing deep, first-ha...

Jun 25, 2026
Post comments count 1
Post likes count 0

Which Azure Cosmos DB Role Does My App Need?

Sudhanshu,
Iria

In the previous post in the series, we covered the security decisions you make on day one. In this part, we will talk about how to give your app access to Cosmos DB data, using roles and a managed identity instead of keys. The situation You’ve built your app. It works locally. Now you’re ready to connect it to Azure Cosmos DB, and you hit the question: how does my app get access? There are really only three questions you need to answer:   First, the one distinction that trips everyone up Cosmos DB has two completely separate permission systems. If you remember nothing else from this ...

Jun 22, 2026
Post comments count 0
Post likes count 1

How to Use Deep Agents with Azure Cosmos DB – Plan, act, and verify against operational data

Abhishek Gupta

Deep Agents is an agent harness built on LangGraph, for agents that need to work through a task over many steps instead of a single LLM call. The agent runs tools, looks at the results, and uses that to pick the next one, keeping a todo list as it goes. On top of that loop the harness brings what a longer-running agent needs. It can load instructions on demand instead of holding everything in the prompt (skills), offload large tool outputs so they don’t fill the context window, and pause for human approval in apps that need an approval gate before data changes. Support Ops Agent is a sample app that puts this ...

Jun 17, 2026
Post comments count 0
Post likes count 0

Azure Backup for Azure Cosmos DB Public Preview Adds Immutable Backups and Long-Term Retention

Hans,
Jay

Azure Backup for Azure Cosmos DB Public Preview Adds Immutable Backups and Long-Term Retention Picture the first few hours after a serious data incident. A production application is down. Security teams are still trying to understand what happened. Application owners need to know which recovery points are usable, which ones are protected from tampering, and whether they can restore somewhere outside the environment under investigation. For teams running regulated or business-critical workloads on Azure Cosmos DB, that moment is exactly where backup design stops being a checkbox. It becomes part of opera...

Jun 16, 2026
Post comments count 0
Post likes count 1

Announcing General Availability of the Azure Cosmos DB Built-in Connector for Logic Apps Standard

Theo van Kraay

Today, we're excited to announce the general availability of the Azure Cosmos DB built-in connector for Azure Logic Apps Standard. This connector gives you a native, high-performance way to integrate Azure Cosmos DB into your Standard logic app workflows, with better throughput, lower latency, and richer functionality than the managed connector. That includes real-time change feed processing, bulk operations, and Microsoft Entra ID authentication. If you've been building integration workflows that read, write, or react to data in Azure Cosmos DB, this GA release means you can do all of that with production-grade...

Jun 2, 2026
Post comments count 0
Post likes count 1

Announcing the Public Preview of Integrated Embeddings in Azure Cosmos DB: Build AI Apps With Embeddings That Stay in Sync

Abhishek Gupta

AI applications built on Azure Cosmos DB depend on embeddings for grounded results. Keeping them in sync with your data is the hard part: it means building and operating a separate data pipeline to track changes, call an embedding model, and write the results back to Azure Cosmos DB. In practice, that pipeline also has to handle failures and retries, throttling, scaling, and monitoring as your data and traffic grow. Integrated Embeddings in Azure Cosmos DB, now in Public Preview, removes that heavy lifting. Azure Cosmos DB automatically generates and maintains the embeddings for you as items are written and upda...

Jun 2, 2026
Post comments count 0
Post likes count 1

Introducing OmniVec: An Open-Source Embedding Platform for AI Apps on Azure

Abhishek Gupta

Today we are open-sourcing OmniVec, a platform for building and operating the embedding pipelines that keep the vector representation of your operational data in sync as it changes. You register data sources, embedding model(s), vector stores (destination), and OmniVec does the rest: initial backfill, change tracking, model invocation to geenrate, and writing them back to your vector store. We are shipping this with support for Azure Cosmos DB, PostgreSQL, SQL Server (source and destination), and Azure Blob Storage (destination). You deploy OmniVec in your own Azure subscription, and use the web UI, CLI, or the  ...