Azure Automation is available for Azure Classic portal and now Azure Resource Manager. There are many article you can find on the Internet for Classic portal.
Today I will try to show you how to create an Azure standalone account without linking it to any other management solutions or Azure OMS Log Analytics.
When we create an Azure automation account in ARM (Azure Resource Manager), it automatically will create below:
- Run As account, which creates a new service principal in Azure Active Directory, a certificate, and assigns the Contributor role-based access control (RBAC), which is used to manage Resource Manager resources using runbooks.
Let’s start evaluating an Azure Automation Account
Log in to ARM, https://portal.azure.com
If you want, go to New and search “Azure Automation” or go to More Services at the bottom of left navigation panel and find Azure Automation under “Monitoring+Management”
As you can see, I have no any Azure Automation account yet, I am about to create a new account. Click on “Create Automation Account”
Give it a name and select appropriate subscription you have and create or use existing Resource Group
Leave “Create Azure Run As account” in Yes and create your account
As I mentioned before, when an Azure automation account is created, below resources are also created
When the Automation account is successfully created, several resources are automatically created for you. The following table summarizes resources for the Run As account.
|AzureAutomationTutorial Runbook||An example Graphical runbook that demonstrates how to authenticate using the Run As account and gets all the Resource Manager resources.|
|AzureAutomationTutorialScript Runbook||An example PowerShell runbook that demonstrates how to authenticate using the Run As account and gets all the Resource Manager resources.|
|AzureRunAsCertificate||Certificate asset automatically created during Automation account creation or using the PowerShell script below for an existing account. It allows you to authenticate with Azure so that you can manage Azure Resource Manager resources from runbooks. This certificate has a one-year lifespan.|
|AzureRunAsConnection||Connection asset automatically created during Automation account creation or using the PowerShell script below for an existing account.|