AzMigration Feature not enabled to migrate cosmosdb account to zone redundant

Navpreet Kaur 20 Reputation points Microsoft Employee
2026-06-19T09:30:59.5666667+00:00

User's image

Observing this issue while migrating cosmosdb to zone redundancy

Azure Cosmos DB
Azure Cosmos DB

An Azure NoSQL database service for app development.


Answer accepted by question author

Manoj Kumar Boyini 18,680 Reputation points Microsoft External Staff Moderator
2026-06-19T10:26:35.85+00:00

Hi @Navpreet Kaur

Azure Cosmos DB validates both Availability Zone support for the target region and whether the subscription is enabled to use Availability Zones in that region. If the subscription capability isn't enabled, the required capability must be enabled before zonal redundancy can be configured.

For existing Azure Cosmos DB accounts, zone redundancy cannot be enabled directly on a region that is already part of the account. The supported approach is to:

  • Add a temporary region.
  • Remove the existing target region.
  • Re-add the region with isZoneRedundant=True.
  • Remove the temporary region after replication completes.

This process can be automated using Azure CLI, Bicep, ARM templates, or PowerShell, but it requires multiple deployment stages because region changes are implemented as add/remove operations rather than an in-place update.

For example, if an account contains Region A and Region B, and you need to enable zone redundancy for Region B, the supported method is to remove Region B and re-add it with isZoneRedundant=True. Once the new region is added, Azure Cosmos DB must fully replicate and commit all data before the region is marked as available. The duration depends on the amount of data stored in the account.

Reference:
https://learn.microsoft.com/en-us/azure/cosmos-db/enable-zone-redundancy?tabs=portal
https://docs.azure.cn/en-us/cosmos-db/how-to-manage-database-account#add-remove-regions-from-your-database-account
https://learn.microsoft.com/en-us/azure/reliability/reliability-cosmos-db

Please let us know if you have any questions or concerns.

Was this answer helpful?

1 person found this answer helpful.
0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

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