@Vishnu Prakash Balotiya Thanks for posting your query on Microsoft Q&A.
You can use lifecycle management to automatically delete old versions. For more information about lifecycle management, see Optimize costs by automating Azure Blob Storage access tiers.
Also, see [Azure RBAC action to delete a blob version](https://learn.microsoft.com/en-us/answers/questions/1387601/how-to-keep-limited-number-(like-only-want-to-keep?comment=question)
You can configure the blob version to get deleted after certain days. I do not see an inbuilt way of doing it based on the number of versions.
Let me know if you have further questions.