Search code examples
azure-devopsazure-pipelinesazure-pipelines-yamlazure-devops-hosted-agent

How can I configure the Microsoft-Hosted Agent to be interactive?


I am configuring my yaml file run coded UI and Web Tests and I would like to use Microsoft-Hosted agent for that. Is that a way to configure the agent to be interactive via my yaml file?

I have configured successfully my self hosted agent to be interactive, my I would like to migrate the pipeline to the microsoft infrastructure

Thank you


Solution

  • You could not configure the MS-hosted agent to be interactive, this is not supported: https://learn.microsoft.com/en-us/azure/devops/pipelines/agents/agents?view=azure-devops&tabs=browser#microsoft-hosted-agents

    I have configured successfully my self hosted agent to be interactive

    For your scenario, self-hosted agent is suggested: https://learn.microsoft.com/en-us/azure/devops/pipelines/agents/agents?view=azure-devops&tabs=browser#interactive-or-service

    enter image description here