Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Change the boot diagnostic storage account of azure virtual machine

I have enabled a diagnostic storage account for my virtual machine. Now I want to change the diagnostic storage account. How do I do it in portal / PowerShell?

I can see that we have a cmdlet - "Set-AzureRmVMBootDiagnostics", however, this is not updating the diagnostic storage account to a new one.

In specific: My current diagnostic storage is "ibmngeus2" and I would like to change to "sqlbackupacct".

like image 959
Manjunath Rao Avatar asked Oct 25 '25 12:10

Manjunath Rao


1 Answers

In the Azure portal, you should be able to click on the boot diagnostics section of the virtual machine, and then click the settings, and then click the storage account section to change the storage account. Keep in mind that the new storage account you want to use must be in the same subscription and location or it will not show up as one you can choose.

enter image description here

like image 78
Brian Hauger Avatar answered Oct 27 '25 02:10

Brian Hauger



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!