本文介绍了需要将运行TFS构建服务(NT AUTHORITY\NETWORK SERVICE)的帐户作为系统用户添加到Release Management Server中。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当尝试从我的版本中触发发行时,我收到上述错误。构建是独立运行的,发布版本是独立运行的,但是我无法触发发布。

I am receiving the above error when attempting to trigger a release from my build. The build works on its own, and the release works on its own, but I cannot trigger the release.

我的问题是,没有像系统用户这样的人在发布管理中。有一个服务用户,并且上述用户被设置为服务用户。

My problem is that there is no such thing as a system user in Release Management. There is a Service User, and the above user is set as a Service User. It's also set as a Release Manager.

它也位于TFS的项目集合管理员组中,并且具有代表他人进行请求权限。为了使它正常工作,我已经做了我想做的所有事情。

It is also in the Project Collection Administrators group in TFS and has the "Make requests on behalf of others" permission. I've done everything I think I need to do in order to get this to work.

我唯一能想到的是版本管理安装在不同的位置服务器到TFS(尽管它与构建代理程序位于同一服务器上),并且可能正在使用不同的 NETWORK SERVICE用户,因为我相信NETWORK SERVICE用户是本地的(尽管我不确定)。

The only thing I can think of is that Release Management is installed on a different server to TFS (although it is on the same server as the build agent), and perhaps it is using a "different" NETWORK SERVICE user, since I believe the NETWORK SERVICE user is local (although I'm not sure).

我尽了我所能找到的一切。其他人正在收到此错误,但是似乎总是可以通过在发布管理中设置服务用户权限来解决。

I've tried everything I can find. Other people are receiving this error, but it always seems to be resolved by setting the Service User permission in Release Management.

我还需要设置其他任何内容吗?

Is there anything else I need to set up to get this to work?

谢谢。

推荐答案

您对每个计算机本地的网络服务帐户。这似乎是您的问题。当作为本地。

You are correct about the Network Service account being local to each machine. And that appears to be your issue. When a process running as a local NetworkService tries to authenticate with a remote system, it does so as domain\machinename$.

因此,要解决您的问题,请尝试使用域将TFS构建服务计算机名称添加到发布管理服务器的相应本地安全组中。 \ {YOURTFSMACHINENAME} $ 作为您的TFS构建服务的帐户。

So to fix your issue, try to add your TFS build service computer name in the appropriate local security groups of your release management server by using domain\{YOURTFSMACHINENAME}$ as the account for your TFS build service.

这篇关于需要将运行TFS构建服务(NT AUTHORITY\NETWORK SERVICE)的帐户作为系统用户添加到Release Management Server中。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-14 02:24