I am using a simple workflow to stop a VM. It is executing fine and showing everything fine. But When I am cross checking my VM is not getting stopped. Is there anything which I am missing here ?
workflow StopVM
{
inlineScript
{
Stop-AzureVM -Name "VM123" -ServiceName "Service123"
}
}