Install and configure Windows Azure diagnostics extension (WAD)

Bombbe 1,611 Reputation points
2020-09-22T11:06:25.44+00:00

Hi,
when configuring Windows Azure diagnostics extension (WAD) from Portal, there is no option to select storage account from different subscriptions / resource groups. Am I doing something wrong or are there no option to send diagnostics to another subscriptions? Can that be changed if I configure it by Powershell / Azure Runbook?

Most preferably way to enable this for me would be Azure runbook and If you have links, githubs, blogs etc. to sample runbook which can do this, please post it here.

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
7,203 questions
Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,133 questions
0 comments No comments
{count} votes

Accepted answer
  1. Winston 2,761 Reputation points
    2020-09-22T22:42:34.4+00:00

    Hi @Bombbe ,

    Thanks for the question. The appropriate way to do this would be through Azure PowerShell. If the diagnostics storage account is in a different subscription from the VM, then you need to explicitly pass in the StorageAccountName and StorageAccountKey parameters to the cmdlet. If the diagnostics storage account is in a different subscription, then the cmdlet might not be able to get the key automatically and you need to explicitly specify the key through the StorageAccountKey parameter. For more see this doc here.

    ----------

    Please don’t forget to "Accept the answer” and “up-vote” wherever the information provided helps you, this can be beneficial to other community members.

    0 comments No comments

0 additional answers

Sort by: Most helpful