Azure DevOps deployment groups agents installation with error message

Han Shih 施學翰 146 Reputation points
2022-06-09T02:16:00.903+00:00

I try to create a release pipeline to copy my .jar file to the target machine (Windows VM).
I follow the instructions and install agents on the VMs

It works fine on most VMs, however, some VMs setting up agents with error (but the installation seems to be successful, I can find the machines on Azure DevOps). Here is the log:
https://gist.github.com/frankShih/9eecd83e9fa82acc4a8436c01bdd16e9

And here is the error message in the release pipeline:

I have checked that all the user accounts shown on Azure DevOps deployment group are admin permission.

Any suggestion is appreciated. Thanks in prior

Community Center Not monitored
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Anonymous
    2022-06-09T02:26:15.67+00:00

    The product group for Azure DevOps / TFS actively monitors questions over at
    https://developercommunity.visualstudio.com/report?space=21&entry=problem
    https://developercommunity.visualstudio.com/report?space=22&entry=problem

    --please don't forget to upvote and Accept as answer if the reply is helpful--

    1 person found this answer helpful.
    0 comments No comments

  2. Limitless Technology 39,916 Reputation points
    2022-06-10T08:02:42.203+00:00

    Hello HanShih,

    When you run the build pipeline on Azure DevOps it's actually the build service account which is running the script. You should make sure the build service account have sufficient permission to Access: '//<hostnameIP>\c$\'

    To change the identity of the build agent, just go into Windows Services and change the identity of related Build service (service name is " Azure Pipelines Agent") to an account that has that filesystem access

    -In the Services pane, right-click Azure Pipelines Agent.
    -Under Service Status, click Stop.
    -Click the Log On tab.
    -Specify the account you want to use for the service in the This account text box.
    -Type the new password in the Password text box, and then type the new password again in the Confirm password text box.
    -Under Service Status, click Start.


    --If the reply is helpful, please Upvote and Accept as answer--

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.