I have installed my build agent on an azure VM, and configure to look at Visual Studio Online collection for Release Management to pick. I have configured it to run as a service, and I can see my agent under Default Queue
https://{youraccount}.visualstudio.com/{collection}/_admin/_AgentQueue?queueId=1&_a=agents
, as green and Idle.
When I go to my environment, select Agent Queue, the drop down only shows the Hosted option. What are the requirements for an agent to be shown in the dropdown? Any ports, permissions/initial kick?
Note1: Securitywise, Agent Queues\Agent Queues Administrators is in the admin role of the Default Queue, and Agent Pools\Agent Pools Administrators are in the admin role of the Default Pool.
Note2: The service on the VM is running without any error logs.. The diag folder C:\agent_diag has logs similar to:
13:24:03.026012 MessageQueueListener.DispatchAsync - Getting message from Session: 628574c1-23a8-4a3b-a064-bbbdbe6ee806
13:24:53.052407 MessageQueueListener.DispatchAsync - message received.
Try adding your account to "Agent Queue Users" or "Agent Queue Administrators" group via following steps:
Now you can go to Release Management and click the "Refresh" button on environment agent queue configure dialog to see if the default queue is listed now.