Access Denied\Admin problems in Azure DevOps pipeline

Copper Contributor

We have created an Azure Virtual machine scale set agent pool and started the pipeline in the agent pool. We faced Access Denied problems in the jobs due to the tasks not running in the admin mode (CMD, PowerShell, and Final builder) on the VMSS instance. We need to run these tasks in admin mode in the Agent pool.


We couldn’t run a console application too with admin privileges in the VM.


Please provide any suggestions to resolve these issues.


For more information check the link below 

0 Replies