0
votes

I am unable to install the VSTS Agent Azure VM extension on an Azure VM. I tried both the Install extension blade in the Azure portal and the Powershell option. When I try from the portal it just gets stuck at transitioning. If I run the Powershell script it gets stuck trying to connect to server.

I was able to install it on another server without any issues. The 2 servers are part of a web farm so they are exact images.

I am following the steps detailed at this url https://docs.microsoft.com/en-us/vsts/build-release/concepts/definitions/release/deployment-groups/howto-provision-deployment-group-agents?view=vsts .

I am trying to deploy from VSTS to an Azure VM.

This is the screen when I try to run the powershell script.

enter image description here

1
Do you mean the way Run the installation script on the target servers (shows in docs.microsoft.com/en-us/vsts/build-release/concepts/…) also fail to deploy the deployment group to your Azure VM? And can you share related screen shots for the error you meet?Marina Liu
There is no error. It just shows "connecting to server" or similar and stays there. I can only try the script again in the next change window as its a production server. If I try to install from the Azure portal extensions blade it doesnt complete either. No error just the status shows "transitioning".webdevbing
Can you show the screen shot when running the copied script on your VM by PowerShell (note: the PowerShell should be run as administrator)?Marina Liu
I've added a screen shot. Last time I ran it it went one step further and tried to connect to the server. This time it got stuck here itself.webdevbing
The script downloads the VSTS Agent and then configure it automatically. What's the result if you do it manually?Eddie Chen - MSFT

1 Answers

0
votes

Run the config file directly (from C:/vstsagent folder) in cmdline and try again with dev.azure.com/{organisation name} url.