0

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" } } 
0

1 Answer 1

1

Probably you have missed to add credential to link to azure. Without making link you can't run azure-cmdlts. However you can do the same thing using certificate also.

Here is some stuff-

Stop-AzureVM does not shutdown my Azure-VM (Runbook)

Sign up to request clarification or add additional context in comments.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.