Access Denied problems in Azure DevOps pipeline

Muruga Anand 26 Reputation points
2022-10-16T06:34:48.94+00:00

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 an console application too with admin privileges in the VM.

Please provide any suggestions to resolve this issues.

VMSS Agent Pool:
250871-agent-pool.png

Pipeline:
250872-pipeline.png

Access Denied Issue:
250832-access-denied.png

Not Monitored
Not Monitored
Tag not monitored by Microsoft.
36,218 questions
0 comments No comments
{count} vote

Accepted answer
  1. Vinodh247-1375 11,301 Reputation points
    2022-10-17T05:16:01.527+00:00

    Hi

    Thanks for reaching out to Microsoft Q&A.

    Could not create file due to access denied error.

    Are you sure you have admin privileges? It's better to have a support ticket created if you have proper support plan or you can post it to the forum like 'dillonjs' has informed.

    Please Upvote and Accept as answer if the reply was helpful, this will be helpful to other community members.

    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Dillon Silzer 54,731 Reputation points
    2022-10-16T06:39:43.733+00:00

    Hi @Muruga Anand

    I recommend you post this on the Azure DevOps community forum at https://techcommunity.microsoft.com/t5/azure-devops/bd-p/AzureDevOpsForum

    They have community expertise for DevOps on that forum.

    Azure DevOps Developer Community (another reference)

    https://developercommunity.visualstudio.com/search?space=21

    ---------------------------

    If this is helpful please accept answer.

    1 person found this answer helpful.