If you need to setup Azure Devops Pipeline for private repository that is under organization then keep reading…
I had lot of trouble setting up that pipeline, I tryed to setup different Service connections, GitHub connections, but no luck. Azure devops seemed that it’s missing some access rights to see my private repository. In the end I’ve found this post, where they recommend how to install the GitHub App.
All you need is to click this link, click
Configure button and then select desired repository that you need to build pipeline for.