Hi @Ravi Shukla ,
Welcome to Microsoft Q&A Platform. Thank you for posting your query here.
The Automated Partition Management for Analysis Services Tabular Models whitepaper is available for review. It describes how to use the AsPartitionProcessing TOM code sample with minimal code changes. It is intended to be generic and configuration driven.
Could you please check below blog also,
https://azure.microsoft.com/en-in/blog/azure-as-automated-partition-management/
Please let us know if it is useful or any further queries.