Installing the VM Agent
Download the VM Agent from Microsoft.
Open an elevated cmd and go to the folder where you saved the file.
Start the installtion of the VM Agent with the following command:
Install the VM Agent.
Let Azure know the VM Agent is installed
Start Windows Azure Powershell.
Login to your Azure account
Select the Azure Subscription where the VM resides
Define parameters for Cloudservice name, and VM name of the VM
Get the VM
Tell Azure the Agent is installed
Update the VM to make changes take effect
Check the status to verify the changes
If everything went according to plan the status should say Ready.
If it is says Not Ready you might need to reboot the VM, and then check again.