Create Automation Account using PowerShell New-AzAutomationAccount and enable System Managed Identity
Grant Azure permissions to a System assigned Managed Identity using PowerShell