Azure Portal看不到DevOps组织[帐户有问题吗?] [英] Azure Portal doesn't see DevOps organization [account problems?]

查看:148
本文介绍了Azure Portal看不到DevOps组织[帐户有问题吗?]的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我无法将Azure Web App连接到我的Azure DevOps组织. 我设法以某种方式为一个Web App做到了这一点(通过选择创建一个新的"DevOps Project"),但是现在很难设置一个新的WebApp来链接到相同的DevOps管道. (目标是有两个阶段的交付管道,需要两个Web应用程序:一个用于质量检查,另一个用于Prod.)

I'm having trouble connecting my Azure Web App to my Azure DevOps organization. I somehow managed to do it for one Web App (by selecting creating a new 'DevOps Project') but now struggle at setting a new WebApp to link to that same DevOps pipeline. (The goal is to have a two stages delivery pipeline, which requires 2 webapps: one for QA, the other for Prod).

创建新的WebApp时,我转到部署中心> Azure Repos> Azure Pipelines(预览),并收到以下错误消息:您没有任何有效的Azure DevOps组织".

When creating a new WebApp, I go to Deployment Center > Azure Repos > Azure Pipelines (Preview) and get the following error message : "You do not have any valid Azure DevOps organization".

任何想法如何使它起作用?注意:我尝试使用相同的资源组和相同的App Service Plan创建WebApp,但无法正常工作.

Any idea how to make that work? Note: I tried creating WebApps with same resource group and same App Service Plan and doesn't work.

非常感谢您的帮助. 最好 卢卡斯

Thanks a lot for any help. Best Lucas

更新:这里的问题是让Azure门户查看" DevOps组织. 似乎是一个帐户问题:您知道一个帐户有两个选项吗? 在此处输入图片描述 可以肯定的是,这与Azure门户和DevOps在不同的帐户目录"上有关:默认目录"与"Microsoft帐户".但是仍然无法解释行为....

UPDATE: The issue here is having Azure Portal "see" the DevOps organization. Seems to be an account issue: you know how one has two options in account? enter image description here Pretty sure it has something to do with the Azure Portal and DevOps being on different account "directories": "Default Directory" VS "Microsoft Account". But still can't explain the behaviour....

推荐答案

我遇到了相同的您没有任何有效的Azure DevOps组织"消息.我通过转到Visual Studio市场并为Microsoft托管的CI/CD为visualstudio.com仓库启用计费来解决了该问题.一些文档说DevOps(Azure管道)对于5个用户是免费的,我猜我们没有资格,因为我们的Azure Devops(visualstudio.com)存储库中有6个活跃用户. (我们最近不得不打破信用卡才能启用第6名团队成员.)

I encountered the same "You do not have any valid Azure DevOps organization" message. I solved it by going to the Visual Studio Marketplace and enabling billing for our visualstudio.com repo for Microsoft-hosted CI/CD. Some documentation says DevOps (Azure Pipelines) is free for 5 users, I'm guessing we didn't qualify because we have 6 active users in our Azure Devops (visualstudio.com) repo. (We recently had to break out the credit card to enable a 6th team member.)

以下是我进入市场并启用结算功能的步骤:

Here are the steps I used to get to the marketplace and enable billing:

  1. 在Azure门户中,单击所有服务",然后搜索"devops".
  2. 点击"Azure DevOps组织"
  3. 结果中显示了我们的visualstudio.com(又名Azure DevOps,以前称为VSTS服务)项目回购.点击它.
  4. 摘要显示随顶部显示设置|删除帐单|设置帐单|连接AAD ...".在摘要区域的右下角,单击所有设置=>".右侧显示组织设置"刀片(列).
  5. 在组织设置"(Organization settings)刀片中,单击"Azure Pipelines".在我们的案例中,显示屏显示"MICROSOFT-HOSTED CI/CD"下方为"0 Edit",而SELF-HOSTED CI/CD下方为"1 Edit".自托管不适用于我们,所以...
  6. 单击编辑"以获取Microsoft托管的CI/CD项目.
  7. 您将被带到marketplace.visualstudio.com,在左侧显示"Microsoft托管的CI/CD",并在屏幕上选择有偿并行作业"的数量.在我们的案例中,我们使用第三方服务获得Microsoft许可,因此我无法看到总费用.但是我选择了1个并行工作,并继续进行此过程.启用计费后,我便可以返回Azure门户,并(在刷新后)进入根据各种视频和文档建立构建管道的过程.

与Microsoft一样,最初的您没有任何有效的Azure DevOps组织"消息无济于事,该过程完全不像烟熏镜演示,并且类似免费供5个用户使用" "误导.

As is so often the case with Microsoft, the initial "You do not have any valid Azure DevOps organization" message was not helpful, the process nothing like the smoke-and-mirror demos, and wording like "free for 5 users" misleading.

希望以上所述对我来说一样有效,并节省了一些时间.

Hopefully the above will work as it did for me and save others some time.

这篇关于Azure Portal看不到DevOps组织[帐户有问题吗?]的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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