链接到正确的团队服务帐户 [英] Linking to Correct Team Services Account

查看:55
本文介绍了链接到正确的团队服务帐户的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个个人和企业VSTS帐户.
当我尝试链接我的Azure帐户订阅时,它将仅链接到我的个人VSTS帐户,而不链接到我的企业VSTS帐户. VSTS是企业帐户,该帐户是由我的合作伙伴创建的,但我是管理员.

I have a personal and a business VSTS accounts.
When I attempt to link my azure account subscription it will only link to my personal VSTS account and not to my business VSTS account. The VSTS is business account was created by my partner but I am an administrator.

我的目标是设置自动化的构建和部署,但是这个帐户问题是绊脚石.

My goal is to setup automated builds and deployments but this account issue is stumbling block.

我尝试遵循两种不同的方法都失败了.

I attempt to follow two different methods both failed.

  1. 我使用了此处概述的步骤:

  1. I used the steps outlined here: https://github.com/projectkudu/kudu/wiki/Setting-up-a-VSTS-account-so-it-can-deploy-to-a-Web-App (Go to the Team Services Account) This resulted in the issue above. The linked account is my personal and not my business and there seems to be no way to change it.

我尝试了这里概述的方法: https://www.visualstudio.com/zh-cn/docs/build/apps/cd/deploy-webdeploy-webapps 但这导致选择订阅时帐户未被授权(通用身份验证错误).

I tried the method outlined here: https://www.visualstudio.com/en-us/docs/build/apps/cd/deploy-webdeploy-webapps But this resulted in the account not being authorized (generic auth error) when selecting the subscription.

有什么想法吗?

推荐答案

请注意,将Azure订阅链接到VSTS仅用于计费目的.为此,您必须是VSTS帐户的所有者(只能是一个),并且必须是此处.

Please note that linking Azure Subscriptions to VSTS is for billing purposes only. In order to do this, you need to be the owner of the VSTS account (there can only be one) and also a co-administrator as per this link. You can switch the owner by following the instructions here.

如果要设置VSTS以将其自动生成/发布到Azure中,则要做的是设置Azure Service Endpoint.这些步骤本质上是设置Azure服务帐户(请参阅此链接),然后在VSTS版本中创建服务端点(请参见此链接).

If you want to setup VSTS for automated build/release into Azure, what you want to do is setup an Azure Service Endpoint. The steps are essentially to setup an Azure service account (see this link) and then to create the service endpoint in VSTS release (see this link).

希望有帮助.

这篇关于链接到正确的团队服务帐户的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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