架构师_程序员_码农网

Retrieve password
Register

QQ登录

Just one step to get started

Search
View:6056|Reply: 0
打印 上一主题 下一主题

TF400813: Resources are not available for anonymous access. Client authentication is required

[copy link]
跳转到指定楼层
owner of the building
发表于 2020-9-8 21:39:02| 看该作者回帖奖励|ReverseBrowse|Read Mode
TF400813: Resource is not available for anonymous access. Client authentication is required.



Delete pipeline agent command:

It was found that the deletion could not be successful and would report an error as above. The detailed error log is as follows:
[2020-09-08 13:11:34Z WARN VisualStudioServices] Basic issued token provider instance 6503226 requires an interactive prompt which is not allowed by the current settings
[2020-09-08 13:11:34Z ERR VisualStudioServices] GET request to https://xx.itsvse.com/_apis/conn ... mp;lastChangeId64=8 is not authorized. Details: TF400813: Resource is not available for anonymous access. Client authentication is required.
[2020-09-08 13:11:34Z INFO VisualStudioServices] Finished operation Location.GetConnectionData
[2020-09-08 13:11:34Z INFO Terminal] WRITE LINE: Failed: Removing proxy from server.
[2020-09-08 13:11:34Z ERR Agent] Microsoft.VisualStudio.Services.Common.VssUnauthorizedException: TF400813: Resource is not available for anonymous access. Client authentication is required.
at Microsoft.VisualStudio.Services.Common.VssHttpMessageHandler.SendAsync(HttpRequestMessage request, CancellationToken CancellationToken)
at Microsoft.VisualStudio.Services.Common.VssHttpRetryMessageHandler.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken) HttpRequestMessage request, CancellationToken cancellationToken)
at System.Net.Http.HttpClient.FinishSendAsyncBuffered(Task`1 sendTask, HttpRequestMessage request, CancellationTokenSource cts, Boolean disposeCts)
at Microsoft.VisualStudio.Services.WebApi.VssHttpClientBase.SendAsync(HttpRequestMessage message, HttpCompletionOption completionOption, Object userState, CancellationToken cancellationToken)
at Microsoft.VisualStudio.Services.WebApi.VssHttpClientBase.SendAsync[T](HttpRequestMessage message, Object userState, CancelToken cancellationToken) CancellationToken cancellationToken)
at Microsoft.VisualStudio.Services.Location.Client.LocationHttpClient.GetConnectionDataAsync(ConnectOptions GetConnectionDataAsync(ConnectOptions, connectOptions, Int64 lastChangeId, CancellationToken cancellationToken, Object userState)
at Microsoft.VisualStudio.Services.WebApi.Location.VssServerDataProvider.GetConnectionDataAsync(ConnectOptions connectOptions, Int32 lastChangeId, CancellationToken cancellationToken)
at Microsoft.VisualStudio.Services.WebApi.Location.VssServerDataProvider.ConnectAsync(ConnectOptions connectOptions, Int32 lastChangeId, CancellationToken cancellationToken) ConnectAsync(ConnectOptions connectOptions, CancellationToken cancellationToken)
at Microsoft.VisualStudio.Services.Agent.LocationServer.ConnectAsync(VssConnection jobConnection)
at Microsoft.VisualStudio.Services.Agent.Listener.Configuration.ConfigurationManager.IsHostedServer(String serverUrl, ConfigurationManager.IsHostedServer(String serverUrl, VssCredentials credentials)
at Microsoft.VisualStudio.Services.Agent.Listener.Configuration.ConfigurationManager.UnconfigureAsync(CommandSettings ConfigurationManager.UnconfigureAsync(CommandSettings(command))
at Microsoft.VisualStudio.Services.Agent.Listener.Agent.ExecuteCommand(CommandSettings command)
[2020-09-08 13:11:34Z ERR Terminal] WRITE ERROR: TF400813: Resource is not available for anonymous access. Client authentication is required.
Connecting to azure devops server 2020 using vsts-agent Configuration agent client can log in via PAT, Negotiate, Integrated, Alternate.

The reason for the error is that access to the api interface does not pass authentication, which prevents the pipeline agent from being removed properly.

Solution

Open IIS Configuration Manager, find the "Azure DevOps Server" site, find the authentication function, select Windows authentication, open the "Provisioning Programs" on the right side, in the available programs, select Negotiate-> Add, OK. Add, OK, as shown in the following figure:



Re-execute the Remove Pipeline Proxy command, enter "Negotiate" as the authentication method, and enter the administrator account and password to successfully remove it, as shown below:



(End)




Previous articleAngular 11 series (16) page parsing HTML source code
Next article:Azure DevOps 2020 (four) using Pipelines to compile jobs
The code farmer network, only published in the process of practice, encountered technical difficulties, do not mislead others.
You need to log in before you can post back Log in | Register

This version of the integral rules

DISCLAIMER:
All software, programming materials or articles published by Code Farmer are limited to be used for learning and research purposes only; the above contents shall not be used for commercial or illegal purposes, otherwise, all the consequences shall be borne by the users themselves. This site information from the network, copyright dispute has nothing to do with this site. You must completely remove the above content from your computer within 24 hours of downloading. If you like the program, please support the genuine software, buy registration and get better genuine service. If there is any infringement, please contact us by email to deal with it.

Mail To:help@itsvse.com

QQ| ( ICP备14021824号-2 )|Sitemap

GMT+8, 2024-9-18 23:29

Quick ReplyBack to topBack to list