This script will create Azure Automation account with Run As account with a self-signed certificate. The certificate will be generated by Key Vault. param( #VSTS data [string]$AutomationAccountName, [string]$ResourceGroupOMS, [string]$SubscriptionId, [string]