How can a virtual machine scale set agent run interactive UI tests in an elevated process?

52 Views Asked by At

When configuring the scale set agent, I can check the box to configure the VMs to run interactive tests:

checkbox

According to the docs, this runs in an unelevated session. How can I have my interactive UI tests run elevated?

1

There are 1 best solutions below

4
jessehouwing On

The standard GitHub Actions and Azure Pipelines agents do the following to achieve this: