Ensure that the Automatic Failover feature is enabled for Microsoft Azure Cosmos DB accounts.
It is strongly recommended to configure the Azure Cosmos DB accounts used for production workloads to enable automatic failover.
Modify Cosmos DB account to enable automatic failover.