Title: How to remove EnableMongo16MBDocumentSupport capability from Azure Cosmos DB to enable CMK encryption?

Shubham Raut 0 Reputation points
2025-08-11T12:14:47.2366667+00:00

Title: How to remove EnableMongo16MBDocumentSupport capability from Azure Cosmos DB to enable CMK encryption?

Body:

I have an Azure Cosmos DB account (Mongo API) that currently has the following capabilities enabled:

json

CopyEdit

`[
  { "name": "EnableMongo" },
  { "name": "EnableMongo16MBDocumentSupport" }
]
`

I need to enable Customer Managed Key (CMK) encryption, but I’m getting the error: EnableMongo16MBDocumentSupport and CMK encryption are not supported together. I can’t find an option in the portal to disable EnableMongo16MBDocumentSupport. Question: Is there a way to remove this capability from an existing Cosmos DB account, or do I need to create a new account without it? If a new account is required, what’s the best approach for migrating data with minimal downtime?

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.