When using the Fluent Azure Cosmos Api (1.22.2) to update the ip range:
var cosmos = azure.CosmosDBAccounts.GetByResourceGroup(cosmosResourceGroup, cosmosAccountName);
cosmos.Update().WithIpRangeFilter(ipRangeFilter).Apply();
I receive:
Cannot update EnableMultipleWriteLocations flag and other properties at the same time.\r\nActivityId: 2602d107-0e8e-4631-a421-01b65127a064, Microsoft.Azure.Documents.Common/2.4.0.0
On further inspection I can see that a Cosmos Database that has false set for EnableMultipleWriteLocations does not fail, whereas one with true does.