Hello,
To handle starting and stopping VM using Azure Logic Apps you could use Azure Automation Runbooks
but the documentation on Start/Stop VM says :
https://learn.microsoft.com/en-us/azure/automation/automation-solution-vm-management
To start and stop VMs with Logic Apps and Azure Functions you can follow this documentation :
https://learn.microsoft.com/en-us/azure/azure-functions/start-stop-vms/overview
and deploy from this repo : https://github.com/microsoft/startstopv2-deployments/blob/main/README.md
If you have only a few VM to manage , you could write your own powershell runbooks like this :
$vms = Get-AzureVM
foreach($vm in $vms)
{
Start-AzureRmVM -ResourceGroupName "YourResourceGroupName" -Name "$vm"
}
If this answer was helpful, please mark it as accepted so other users with same questions can find this topic.
Regards