We don’t have any condition on our side, we just rely on the token you provided to list the repositories, using the list repositories API provided on AzDo. Is there some kind of specific/granular permission set on your repositories that you don’t see maybe ?
Hi @mickaelcaro . We are still having this issue and we don’t see major differences in terms of permissions. Does the service SonarCloud use to pull the repositories have a max number of results(repositories) restriction?
We have a big number of repositories within our organization.
No update on the ETA : but i think the biggest problem we’ll face here is that the API we call to retrieve repositories is not paginated, so not sure if we can figure this out right now, we’ll have to check with MS support directly.
The only difference will be that your manually created project’s won’t benefit from the organization-wide PAT for PR decoration, meaning that you will need to put a PAT on each project’s setting. Apart from that, this is pretty much the same experience.
We are in a test phase for using SonarCloud. Our organization has aprox 170 projects and 450 repos.
SonarCloud imports only 212 repos, so a lot is missing. I can’t find any (azure) user policy causing this.
I can manually create projects as proposed, but its a work around…
In Azure devops api you might set a max return count. https://dev.azure.com//_apis/projects?api-version=6.0&$top=350
I would guess the default value, max 100 projects, is to small for a lot of organizations using “paid plan”.
I am still experiencing this issue of missing projects and repositories. Is there something we need to do on our side to get things to work ? The projects have been setup for a year or two already, before the fix mentioned in this thread. We now have a larger number of projects & repos connected, and the ones from before (and new ones) now cannot be found.
@mickaelcaro I am experiencing this issue as well. I am running 9.4. I see exactly 100 repos listed and when I search and check the network tab I can see the response contains the list of repos I would expect, but they do not show up in the list on the web page. You can see from the screenshots below that the web page shows only 1 result while the response returns 9 repositories.