ERROR: SCM-TFVC: Unable to annotate the project which TF400324: Azure DevOps services are not available from server https://devops.xyz.com/collection/

Hello Community,

We are using on premises DevOps server with on premises community version of Sonarqube server 8.3.1. We are facing 02 issues right now. First one is the Error that we are getting in the build pipeline. Error title is same as the topic title. This error appears in Run Code Analysis task of buildpipeline.

Second issue is that we can’t annotate issue with the committer of the issue. No annotation information appears. Although our local active directory accounts sync with the sonarqube server and same is for user groups.
Log from build pipeline is as below:
2021-03-02T12:18:43.6527514Z ##[section]Starting: Run Code Analysis
2021-03-02T12:18:43.6747809Z ==============================================================================
2021-03-02T12:18:43.6748099Z Task : Run Code Analysis
2021-03-02T12:18:43.6748251Z Description : Run scanner and upload the results to the SonarQube server.
2021-03-02T12:18:43.6748412Z Version : 4.17.0
2021-03-02T12:18:43.6748546Z Author : sonarsource
2021-03-02T12:18:43.6748729Z Help : Version: 4.17.0. This task is not needed for Maven and Gradle projects since the scanner should be run as part of the build.

More Information
2021-03-02T12:19:04.7081657Z ##[error]ERROR: SCM-TFVC: Unable to annotate the project which TF400324: Azure DevOps services are not available from server https://devops.veripark.com/Dubai Product/.
2021-03-02T12:19:04.7100742Z ERROR: SCM-TFVC: Unable to annotate the project which TF400324: Azure DevOps services are not available from server https://devops.veripark.com/Dubai Product/.
2021-03-02T12:19:04.7101585Z INFO: SCM Publisher 0/204 source files have been analyzed (done) | time=687ms
2021-03-02T12:19:07.2515451Z INFO: ANALYSIS SUCCESSFUL, you can browse https://sonarqube.veripark.com/dashboard?id=VeriLink-07-Framework
2021-03-02T12:19:07.2516188Z INFO: Note that you will be able to access the updated dashboard once the server has processed the submitted analysis report
2021-03-02T12:19:07.2517232Z INFO: More about the report processing at https://sonarqube.veripark.com/api/ce/task?id=AXfy4K8-a2AGQtsEIufp
2021-03-02T12:19:07.8128916Z INFO: Analysis total time: 18.502 s
2021-03-02T12:19:07.8161702Z INFO: ------------------------------------------------------------------------
2021-03-02T12:19:07.8163211Z INFO: EXECUTION SUCCESS
2021-03-02T12:19:07.8163546Z INFO: ------------------------------------------------------------------------
2021-03-02T12:19:07.8163653Z INFO: Total time: 20.690s
2021-03-02T12:19:07.9556199Z INFO: Final Memory: 19M/300M
2021-03-02T12:19:07.9557020Z INFO: ------------------------------------------------------------------------
2021-03-02T12:19:08.5427556Z The SonarScanner CLI has finished
2021-03-02T12:19:08.5428716Z 15:19:08.541 Post-processing succeeded.
2021-03-02T12:19:08.5739465Z ##[section]Finishing: Run Code Analysis

Hi @azhar ,

Welcome to SonarSource Community! :sonarsource:

It looks like you are using the lg2de/sonar-scm-tfvc plugin. If so, you’ll need to request assistance from the maintainer of that plugin.

Joe

Any other cause of this issue that i look for before making request to maintainer of this plugin.?

Can you post the entirety of the “Run Code Analysis” task and we can see if there are other critical errors by getting debug-level logs (add sonar.verbose=true to the extraProperties key in the Prepare SonarQube Config task)?

Referring to github plugin, looks like this has occurred before with other users but no response from the maintainers yet: SCM-TFVC: Unable to annotate the project which TF400324 · Issue #57 · lg2de/sonar-scm-tfvc · GitHub

Here are some other links to check:

Joe

Joe i can’t post the whole log for Run code analysis task here due to limitation of allowed characters. How can i share that with you.?

Joe , I sent you log in email. please review and give your feed back.

Joe , any update?