Hi, @Vijay Kumar - Please take a look at the following TechCommunity blog specific to your ask: Automating Azure SQL DB index and statistics maintenance using Azure Automation
The general steps are the following where the blog has the detailed steps:
- Azure automation account
- Import SQLServer module
- Add Credentials to access SQL DB
- Add a runbook to run the maintenance
- Schedule task
Please let the forum know if you have any additional questions or need assistance deploying solution detailed in the document.