How to install windows azure VM agent on all the VM's hosted on azure instaed of manual installation

GVS 146 Reputation points

Hi Everyone,

I have too many VM's running with windows OS on azure but its really painful & time taking to update the windows azure agent manually. Is there a way to update the windows azure agent from portal.

Note : VM's are created (source) from DISK not from market place

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
6,824 questions
{count} votes

2 answers

Sort by: Most helpful
  1. Leon Laude 85,566 Reputation points

    HI @AzureisMyCareer-5423,

    As per the documentation, if you have manually provisioned the VMs (not from the Marketplace) you will have to manually upgrade the Azure VM agents:

    Upgrade the VM Agent
    The Azure VM Agent for Windows is automatically upgraded on images deployed from the Azure marketplace. As new VMs are deployed to Azure, they receive the latest VM agent at VM provision time. If you have installed the agent manually or are deploying custom VM images you will need to manually update to include the new VM agent at image creation time.



    (If the reply was helpful please don't forget to upvote or accept as answer, thank you)

    Best regards,

    0 comments No comments

  2. Haim 21 Reputation points

    Hi @AzureisMyCareer-5423.

    I am providing additional documentation that provide information on how to Install the Azure Virtual Machine Agent in offline mode -

    If you can RDP to the VM, you just need to download and install the VM Agent manually.

    You can download MSI installer to use for deployment -

    (If the reply was helpful, please don't forget to upvote or accept as answer, thank you)

    Best regards,

    0 comments No comments