An Azure NoSQL database service for app development.
hi Evan Wong & thanks for join me here at Q&A portal,
yeah this is a subscription capability flag, not a normal Cosmos DB template error. AZ migration capability is disabled for subscription means the deployment is trying to enable or migrate Availability Zone support for Cosmos DB, but that feature is not enabled for that subscription or not supported for that account type.
See what the deployment is doing. Look for isZoneRedundant, region failover changes, or any Cosmos DB account migration step in CosmosDb.UnifiedCredentials.ST. Azure Cosmos DB availability zone guidance https://learn.microsoft.com/en-us/azure/reliability/reliability-cosmos-db If this is Free Tier, Serverless, or another restricted Cosmos account type, AZ migration may not be supported. There is a similar Microsoft Q&A case where this exact error was tied to unsupported Free Tier AZ migration https://learn.microsoft.com/en-us/answers/questions/5579780/az-migration-capability-is-disabled-for-this-subsc If this is an internal Microsoft production subscription, this likely needs Cosmos DB backend enablement. Open a Cosmos DB support ticket or internal engineering request and include subscription ID, operation ID 19BC0DA20D309390, activity ID 38f17e54-883b-46f3-a442-839e671448cb, deployment name, region, account name, and whether the account is serverless, provisioned throughput, or free tier. Retrying the deployment will not help until the subscription is enabled for AZ migration or the deployment is changed to avoid AZ migration.
rgds,
Alex
&
If my answer was helpful pls mark it and additional thx if u follow me at Q&A portal