An Azure service that is used to provision Windows and Linux virtual machines.
Hey @Vittal Kasaram,
thank you for clarifying your ask.
For a fixed-time restart of an Azure VM, the most common option is Azure Automation with a scheduled runbook that runs Restart-AzVM on the VM at the time you choose. Microsoft’s Azure VM reboot guidance also notes that reboots can be triggered from the Azure portal, PowerShell, CLI, or REST API, so automation via one of those paths is the right approach for a recurring schedule.
Best options:
- Azure Automation runbook: Best if you want a true recurring schedule, such as every day at 2:00 AM. You create a schedule and attach it to a PowerShell runbook that restarts the VM.
- Logic Apps: Good if you prefer a low-code workflow with a built-in recurrence trigger and an action to restart the VM.
- Azure Functions + timer trigger: Good if you want code-based control and more custom logic.
- Azure Monitor action group or alert automation: Better for event-driven actions, not ideal for a fixed daily restart.
What I’d recommend
If your goal is simply “restart this VM at the same time every day,” use Azure Automation. It is the cleanest and most standard option for scheduled VM operations.
If you found this helpful, please don't forget to click on "Accept Answer"