How to run the Virtual machine scale set agents in interactive mode with AutoLogOn.

Subashini Mahendran 1 Reputation point
2022-11-15T13:33:15.91+00:00

I am using Virtual machine scale set agents in my pipelines, by default the agent was running as service. I need to use screen resolution utility extension for changing the agent resolution and test complete application for running my test project, for this I need to run the VMSS agents in interactive mode with AutoLogOn.

Since VMSS agent running as service, the pipeline failed in screen resolution task. Please find the screenshot regarding it below:
260459-image.png

Currently I am using Windows OS as agent. Also, I could see an option in agent pool to run the agent with auto log on and interactive test for Windows Server Operating system. Whether this option suitable for Windows Operating system also?
260439-image.png

If not, can you please provide any solution regarding this asap.

Note: While using self-hosted VM as agent, while configuring the agent in VM itself it ask whether need to run agent as service or not. How this option can be enabled in VMSS agent?

Not Monitored
Not Monitored
Tag not monitored by Microsoft.
39,570 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. KarishmaTiwari-MSFT 20,127 Reputation points Microsoft Employee
    2022-11-17T19:41:13.577+00:00

    @Subashini Mahendran Currently, Azure DevOps is not supported on Microsoft Q&A. Please check this supported products list here (more to be added later on).

    However, the Azure DevOps team and community are active and answering questions on https://developercommunity.visualstudio.com/spaces/21/index.html Please post your question there and experts will guide you.

    Few examples on the same topic for reference:
    https://developercommunity.visualstudio.com/t/build-agents-running-in-interactive-mode-with-auto/440938
    https://developercommunity.visualstudio.com/t/pipeline-agent-in-interactive-mode-with-autologon/1093230

    You can also ask for help on Stack overflow: https://stackoverflow.com/questions/tagged/azure-devops
    or request for support here : https://azure.microsoft.com/en-us/support/devops/

    215816-image.png

    ----------

    If this answers your query, do click “Accept the answer” and Up-Vote for the same, which might be beneficial to other community members reading this thread. And, if you have any further query, do let us know in the comments.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.