Oct 02 2023
01:26 PM
- last edited on
Mar 05 2024
04:53 PM
by
TechCommunityAP
Oct 02 2023
01:26 PM
- last edited on
Mar 05 2024
04:53 PM
by
TechCommunityAP
I'm installing new agent pool on premise linux server(ubuntu) following the steps from this
https://learn.microsoft.com/en-us/azure/devops/pipelines/agents/linux-agent?view=azure-devops
When I execute command config.sh it is failing, checking logs it is saying unauthorized, but I have checked the permission and the user is there with admin privileges
Enter server URL > http://myportal:8080/
Enter authentication type (press enter for Negotiate) > negotiate
Enter user name > myuser
Enter password > ***************
Connecting to server ...
>> Register Agent:
Enter agent pool (press enter for default) > myagent_pool
Enter agent name (press enter for d22devadox03) > myagent
Scanning for tool capabilities.
Connecting to the server.
Successfully added the agent
Testing agent connection.
Enter work folder (press enter for _work) >
2023-10-02 20:18:21Z: Settings Saved.
Error reported in diagnostic logs. Please examine the log for more details.
- /home/user/newagent/_diag/Agent_20231002-201554-utc.log
This is the error in the logs:
[2023-10-02 20:17:48Z INFO VisualStudioServices] Starting operation Location.GetConnectionData
[2023-10-02 20:17:48Z WARN VisualStudioServices] Authentication failed with status code 401.
Stuff installed:
Server ubuntu version 20.04
Agent version vsts-agent-linux-x64-3.227.1.tar.gz
Netcore6
Oct 02 2023 05:56 PM
Oct 09 2023 04:02 PM