Forum Discussion

Suhag Desai's avatar
Suhag Desai
Brass Contributor
Dec 04, 2017
Solved

WARNING: Since the VM is created using premium storage, existing standard storage account,

Hi all,

 

i am following the link below to create the VM on free trial subscription.

 

https://docs.microsoft.com/en-us/azure/virtual-machines/windows/tutorial-manage-vm

 

But getting below warning while VM is being created.

 

WARNING: Since the VM is created using premium storage, existing standard storage account, XXXXX,is used for boot diagnostics.

 

Can anyone pl advice.

 

Regards,

 

 

 

  • Hi,

    When you create a VM if you enable diagnostics you have to specify a storage account. In this case if you doesn't specify a SA it will create a storage account for you or select any existing storage account.  

     

    Thanks

5 Replies

  • Suhag Desai's avatar
    Suhag Desai
    Brass Contributor

    Hi,

     

    Can you pl let me know how to and where to declare the storage account. i want VM to use the storage account which was already created.

     

    Regards

  • Suhag Desai's avatar
    Suhag Desai
    Brass Contributor

    Hi,

     

    Can you pl let me know how to and where to declare the storage account. i want VM to use the storage account which was already created.

     

    Regards

  • kasunsjc's avatar
    kasunsjc
    Iron Contributor

    Hi,

    When you create a VM if you enable diagnostics you have to specify a storage account. In this case if you doesn't specify a SA it will create a storage account for you or select any existing storage account.  

     

    Thanks

    • Suhag Desai's avatar
      Suhag Desai
      Brass Contributor

      i think, i got it

       

      $vm=Set-AzureRmVMBootDiagnostics-VM$vm-Enable-ResourceGroupName$RGname-StorageAccountName$stDiagName

       

      Thanks for your help

Resources