Why is Azure Deployment Center not showing all repos I have in GitHub

76 Views Asked by At

I'm trying to deploy code to Azure (a .NET web API) but I can't access all the repositories in my GitHub account. I have a lot of repos (>100) and about 80+ of them are public.

However this should not prevent Azure from showing all my repos in the dropdown menu. I am stuck and not sure what the problem is, short of calling Azure themselves to ask. Has anyone experience this and know the reason why Azure does not show all repos in the dropdown menu?

1

There are 1 best solutions below

0
On

Yes, sometimes it happens, Even I have faced this situation once.

You can also see the message in the Deployment Center UI.

enter image description here

For this you need to revoke the Azure App Service in GitHub.

Navigate to GitHub => Settings => Applications => Authorized OAuth Apps => Azure App Service.

Click on Revoke

enter image description here

enter image description here

  • Now check the Deployment Center in Azure App Service. You will find an option to Authorize the GitHub.

    enter image description here

Click on it. You can see the permissions to the repos.

enter image description here

Also refer MSDoc for the same issue.

If you can’t find an organization or repository, you might need to enable more permissions on GitHub.