automation user

TO 21 Reputation points

I'd like to start VM automatically using automation user and runbook but dose not work...

  1. create automation user
  2. import "Start Azure V2 VMs" from gallery and create runbook
  3. publish runbook and link to schedule and input "RESOURCEGROUPNAME" and "VMNAME"

What is missing in this procedure?


Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,194 questions
0 comments No comments
{count} votes

Accepted answer
  1. cthivierge 4,056 Reputation points

    Ok, have you created the user in the "Credentials" section in the Automation Account ?
    On the left side, under Shared Resources, click on Credentials

    Then, create a user...
    Name: You decide the name
    User Name: It has to be a valid user in your tenant AD
    Password: The password of the user account.

    When created, you can call this user in your Automation Account script


1 additional answer

Sort by: Most helpful
  1. cthivierge 4,056 Reputation points

    You have created the automation account as well as the run as account ?

    Then you have imported a ps script from the gallery and then you want to run this script with the automation account?

    Any error message?