Azure DevOps - importing repo - cannot see specific project's repos

  • ALM used: Azure DevOps
  • CI system used: Azure DevOps
  • Languages of the repository: .NET Core
  • Error observed
    • during organisation set up, when trying to choose a project repo to scan, I cannot see a specific project’s repos
  • Steps to reproduce
    • create new org in sonarcloud
    • choose analyze new project
    • supply Azure DevOps organisation and PAT
    • see that some repos appear, but none from the project that I am interested in

Is there some configuration settings that I need to be mindful of in ADO in order to allow a project’s repos to be scannable?

Many thanks!

Steve

Hi @speaktosteve and welcome to the community !

Do you have specific/granular permission for those repositories ?

Mickaël

Hi @mickaelcaro - its good to be here, and thanks for the response!

There are no specific permissions for those repos, not as far as I can tell having compared the project and repos settings and permissions to one that SonarCloud can see. One thing. there are a grand total of 435 projects in this org, so maybe SonarCloud is not able to retrieve that volume of repos?

I can see that it returns 105 of the repos for the org:

Thanks

Steve

Hello @speaktosteve,

You’re right, we do not support the pagination of some Azure DevOps APIs. Therefore we can’t load all of your repositories. We will be fixing this soon, I created a ticket where you can follow the progress.