2

I have one Log Analytics workspace "demo-law-sea" and one Automation Account "demo-aa-sea" in the same region of Azure. I want to create "Start/Stop VMs during off-hours".

It requests a Log Analytics workspace and an Automation Account. I simply choose "demo-law-sea", but I cannot choose "demo-aa-sea" because they are not linked.

Then I go to both Log Analytics workspace and Automation Account to see if I can link them together. Either one has Related Resource to refer to the other, but they have only unlink button but not link.

To proceed I create a new Automation Account with selected Log Analytics workspace while creating "Start/Stop VMs during off-hours", then I delete the existing Automation Account "demo-aa-sea".

Is there a way to link existing Log Analytic workspace and Automation Account? Any prerequisites? Thanks.

Wahyu Kristianto
  • 8,719
  • 6
  • 43
  • 68
Huodong
  • 523
  • 8
  • 23

1 Answers1

8

Under your Automation Account in azure portal -> click Update Management in the left menu, then you can select the proper Log Analytics.

enter image description here

Ivan Glasenberg
  • 29,865
  • 2
  • 44
  • 60