azureautomation/runbooks

New-OnPremiseHybridWorker assumes that the monitoring workspace is in the same subscription

Opened this issue · 0 comments

We happen to have our Log Analytics Workspaces in a dedicated subscription.

An additional parameter needs to be added to support this. Then it's a matter of toggling the AZContext in a couple of places in the script to make this work.