简体   繁体   English

Azure 部署 - 授权后看不到所有存储库

[英]Azure deployments - Can't see all repositories after authorizations

I can't see all my Github organization repositories in the dropdown of Azure deployment center.我在 Azure 部署中心的下拉列表中看不到我所有的 Github 组织存储库。 Azure was already authorized long time ago and the dropdown was showing all the repos correctly until last week when I was playing arround in the DevOps and had to authorize again but I think it broke something. Azure 很久以前就已经获得授权,并且下拉列表正确显示了所有 repos,直到上周我在 DevOps 中玩 arround 并且不得不再次授权,但我认为它破坏了一些东西。 Now in the DevOps, I can see all the repos of the organization but not in the deployment center of my web apps where I only see 3, which are not the ones I want...现在在 DevOps 中,我可以看到组织的所有存储库,但不能在我的 Web 应用程序的部署中心看到,我只看到 3 个,这不是我想要的……

在此处输入图像描述

Since it's already authorized I can't see the " Authorize " button it asked the first time.由于它已经被授权,我看不到它第一次询问的“授权”按钮。 I can " Change account " but it does nothing.我可以“更改帐户”,但它什么也没做。

On Github I reinstalled Azure Pipelines in " Installed GitHub Apps " thinking it would fix the problem but it doesn't.在 Github 上,我在“已安装的 GitHub 应用程序”中重新安装了 Azure Pipelines,认为它可以解决问题,但事实并非如此。

Azure App Service is also Approved in the " Third party access " tab. Azure App Service也在“第三方访问”选项卡中获得批准。 I tried to " Deny access/Grant access " whit no result.我试图“拒绝访问/授予访问”没有结果。

在此处输入图像描述

Is there a way to remove the authorization on Azure and then re-authorize ?有没有办法在 Azure 上删除授权然后重新授权? Or maybe I need to add something in the Github organization settings ?或者也许我需要在 Github 组织设置中添加一些东西?

Yes, this need you to re-authorization.是的,这需要你重新授权。

This is how to do that:这是如何做到的:

First, remove the old authorization.首先,删除旧授权。

在此处输入图像描述

在此处输入图像描述

Second, go to your web app and start a new authorization.其次,转到您的网络应用程序并开始新的授权。

在此处输入图像描述

Third, The reason you ca n't see it in the deployment is because you do n't have access rights.第三,在部署中看不到的原因是因为你没有访问权限。 You need to mark all the organizations that you need access to in this step.您需要在此步骤中标记您需要访问的所有组织。

在此处输入图像描述

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM