I had issues linking a Log Analytics Workspace and Automation Account this week. To begin with, there is no option to link an Automation Account from within an OMS Workspace and no way to link an OMS Workspace from within the Automation Account. The only option is to go into the OMS Workspace and add a solution that requires an Automation Account such as Automation and Control. The process is outlined here.
Updated 11/2018 – Added Log Analytics to the content as OMS is getting phased out.
Issue below still exists, although you do not need to go into the OMS portal to link. It can be done simply by added the Automation and Control solution in Azure. The Log Analytics Workspace and Automation Account do not need to be in the same Resource Group. They do need to be in the East US and East US 2 Region to link however.
The bigger problem is that when I went to configure the workspace there was no Automation Account available when I tire to add a solution. OMS Gave me the message: Continue reading “Link Azure Automation and OMS Workspace”