如果不属于域,则将Deployment Agent连接到Visual Studio Online [英] Connect Deployment Agent to Visual Studio Online if not part of domain

查看:98
本文介绍了如果不属于域,则将Deployment Agent连接到Visual Studio Online的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在将Microsoft Deployment Agent 2013安装到Azure VM上.为了连接到我的Release Management Server(在我的情况下为Visual Studio Online),我需要作为本地系统或使用自定义帐户进行身份验证:

I'm installing the Microsoft Deployment Agent 2013 onto an Azure VM. In order to connect to my Release Management Server ( Visual Studio Online in my case ) I need to authenticate either as local system or with a custom account:

使用我的凭据-已通过验证,可以使用发布管理服务,但无法将它们连接到发布管理服务器:

So with my credentials - I am validated to use the Release Management Service, but I cannot connect with them to the Release Management Server:

I, 2015/02/04, 16:50:11.245, User [ME] is system, Admin  
I, 2015/02/04, 16:50:11.260, Validated account to use as identity for Release Management Services. 
I, 2015/02/04, 16:50:11.260, Validating Release Management Server for Team Foundation Server 2013... 
E, 2015/02/04, 16:50:11.448, Got a non-OK status code of NonAuthoritativeInformation from http://whatever.visualstudio.com/...

当然-我登录到该框所使用的凭据与我可以访问RM服务器所使用的凭据不同.所以你我觉得我有两个选择:

Of course - the credentials with which I login to the box are not the same as with which I have access to RM server. So you I figured I had 2 options:

  • 在本地框中添加一个可以访问RM服务器的相同帐户:无效,我的@@ mail.com用户名太长.
  • 将框的凭据添加到Visual Studio Online:无效,它需要发送邀请电子邮件.

另一个选择当然是在没有代理的情况下使用发布管理.使用远程Powershell.这也不起作用-部署失败,并显示以下信息:

The other option is of course to use Release Management without the agent. Which uses remote powershell. That didn't work either - the deployment fails with:

Connecting to remote server boxcloudapp.net failed with the following error message : Access is denied. For more information, see the about_Remote_Troubleshooting Help topic.

根据我的阅读,我怀疑这是因为Powershell在SSL上运行,并且向发行管理提供了自签名证书,该证书不被信任为根CA.

From what I read, I suspect this is because the powershell runs over SSL and offers the self signed cert to Release Management which is not trusted as root CA.

我在这里做错了什么?没那么难吧,对吧?

What am I doing wrong here? It can't be that hard, right?

推荐答案

使用Visual Studio Online,您既不需要发行管理服务器,也不需要部署代理.

With Visual Studio Online you neither need a Release Management server, nor a deployment agent.

如果您打开发布管理客户端并连接到 https://youraccount.visualstudioonline.com ,您将自动配置为在线发布管理.然后,您可以将RM在线服务器链接到您的azure帐户并在没有代理的情况下进行部署.

If you open up the Release Management Client and connect to https://youraccount.visualstudioonline.com you will be automatically configured for Release Management Online. You can then link the RM online server to your azure account and deploy without an agent.

http://nakedalm.com/create-release-management-pipeline -professional-developers/

这篇关于如果不属于域,则将Deployment Agent连接到Visual Studio Online的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆