Hi Debashis Jena •,
Welcome to Microsoft Q&A forum and thanks for using Azure Services.
As I understand, you are getting delay in count query result after setting TTL.
Could you please check the TTL which is set at container level and item level?
As by default, you can set time to live at the container level and override the value on a per-item basis.
Please note:
Deletion of expired items is a background task that consumes left-over Request Units, that is Request Units that haven't been consumed by user requests. Even after the TTL has expired, if the container is overloaded with requests and if there aren't enough RU's available, the data deletion is delayed. Data is deleted once there are enough RUs available to perform the delete operation. Though the data deletion is delayed, data is not returned by any queries (by any API) after the TTL has expired.
Hope this helps. Let us know if further queries.
Thanks