question

bombbe avatar image
0 Votes"
bombbe asked ·

Install and configure Windows Azure diagnostics extension (WAD)

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-machinesazure-automationazure-virtual-machines-extension
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

whoward-msft avatar image
0 Votes"
whoward-msft answered ·

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.

· Share
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.