I'm trying to enable full fidelity in Change Feed by using the following code:
ContainerProperties containerProperties = new ContainerProperties("myContainer", "/pk");
containerProperties.ChangeFeedPolicy.FullFidelityRetention = TimeSpan.FromMinutes(5);
CosmosContainerResponse containerCreateResponse = await database.CreateContainerAsync(containerProperties, 400);
but I get the following exception:
The retention duration in Change Feed policy can only be enabled when Full-Fidelity is enabled for database account.
How does one enable this mode for the database account? I did not see an option on the portal.