Tell Azure fabric VM Agent installed in ARM VM

Tell Azure fabric VM Agent installed in ARM VM

Q. How do I manually tell the Azure fabric the Azure VM Agent has been installed in a VM?

A. If you upload a VM to Azure or create your own template that does not have the Azure VM Agent installed it can be manually installed by downloading from http://go.microsoft.com/fwlink/?LinkID=394789 and then telling the Azure fabric that the VM Agent is installed in the VM. To do this with ARM perform the following:

$vm = Get-AzureRmVM -ResourceGroupName $rg -Name $name
$vm.OSProfile.windowsConfiguration.provisionVMAgent = $True
Update-AzureRmVM -ResourceGroupName $rg -VM $vm

 

Hide comments

Comments

  • Allowed HTML tags: <em> <strong> <blockquote> <br> <p>

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.
Publish