Hi Syed Harith Zaki,
Welcome to the Microsoft Q&A Platform! Thank you for asking your question here.
The Auto-Shutdown feature in Azure allows you to schedule VMs to shut down at a specified time, but it does not provide a built-in option for scheduling startup. Therefore, if you use this feature alone, you will have to manually start the VMs after they have been shut down. To automate both shutdown and startup, there are several ways. You can use Azure Automation with Runbooks, Azure Functions or Azure Logic Apps. These options allow you to write scripts that can initiate the shutdown or startup of VMs at scheduled times.
This video will show you how to set this up using automation task: https://learn.microsoft.com/en-gb/shows/IT-Ops-Talk/Auto-Shutdown-and-Auto-Start-an-Azure-VM
The easiest approach is the Logic App that you can deploy as part of the Virtual Machine automation features.
Take a look at this: https://learn.microsoft.com/en-us/azure/logic-apps/create-automation-tasks-azure-resources
To automate the schedule of your virtual machines, you can also follow: https://learn.microsoft.com/en-us/azure/azure-functions/start-stop-vms/overview#enable-and-configure.
https://learn.microsoft.com/en-us/azure/azure-functions/functions-create-scheduled-function
Let me know if you have any further queries.
If the comment is helpful, please click "upvote".