Forum Discussion

nandini_thota's avatar
nandini_thota
Contributor
7 months ago

Unable to auto-login to Azure Agent

Hi Community,

I am using a self-hosted agent and I am triggering runs through a pipeline.

I have setup the auto-logon/ Interactive mode in the agent.

I am currently manually logging into the agent and then triggering the pipeline.

and then in the pipeline disabling the user session and things are working as expected.

My requirement is to auto-login to the Agent so that session would be opened after triggering the pipeline and then disable the user session which i already have in the pipeline..

I've seen in the smartbear tutorial the below info,

  • An interactive user session must be opened on your test agent. You can open the session manually, or, if you use Team Foundation Server 2018 or later, you can configure your agent to run with the auto-logon enabled to open the session automatically when it starts. You enable the auto-logon when you configure your agent. To learn about configuring agents, see docs.microsoft.com/en-us/azure/devops/pipelines/agents/.

Can someone help me with this.

 

Thanks & Regards,

Nandini

  • jkrolczy's avatar
    jkrolczy
    Regular Contributor

    I follow this concept and use it.

    Let's start here:

    Did you follow the steps to setup the agent on your test computer to auto login ?

     

     

    • jkrolczy's avatar
      jkrolczy
      Regular Contributor

      What is your setup?

      Your ADO pipeline triggers to a test computer ?  Hyper-V ?
      where you have the agent installed?