Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
Hi @karthick selvan ,
Thank you for reaching us regarding the issue of configuring CI/CD for your App Service with GitHub. The error message you're receiving indicates that Azure can't find the specified repository on GitHub.
Recommended Troubleshooting Steps:
1.Re-authorize GitHub from Deployment Center and ensure org/repo permissions are granted
In App Service > Deployment Center > Settings, select GitHub as the source and use Authorize (or Change Account) to re-run the GitHub authorization flow. It states that you should select the GitHub Organization, Repository, and Branch, and if the organization/repository isn’t available (or access is blocked), you likely need to enable more permissions on GitHub.
2.Use GitHub Actions deployment with OpenID Connect:
Deploying to Azure App Service using GitHub Actions, and specifically recommends OpenID Connect (OIDC) because it uses short-lived tokens instead of long-lived credentials.
For an existing app, you can set up GitHub Actions directly from Deployment Center, where App Service can generate a workflow file and commit it to your GitHub repository.
Reference:
https://learn.microsoft.com/en-us/azure/app-service/deploy-github-actions?tabs=openid%2Caspnetcore
https://learn.microsoft.com/en-us/azure/app-service/deploy-continuous-deployment?tabs=github
Kindly let us know if the above comment helps or you need further assistance on this issue.
Please "upvote" if the information helped you. This will help us and others in the community as well.