As our repositories are private, only worked when I put the parameter “includeHidden=true” on link Fetch repositories. Only when I included this that I saw a return different than “{“value”:,“count”:0}” and returned the expected result.
This request fetches both private and public repositories.
Did you also try to fetch the list of repositories from your browser, after logging in to AzureDevops? Do you get the same result ?
If yes, the issue is probably on your repo set-up.
If not, then you have an issue with the configuration of your PAT token.
To complement on my previous answer, we only support Git projects for bound projects on AzureDevops. You can manually import your TFVC projects and they will be analysed by SonarCloud.