An Azure service that is used to automate, configure, and install updates across hybrid environments.
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?