2020-04-28T10:29:02.5691835Z ##[error]ERROR: Error during SonarQube Scanner execution
2020-04-28T10:29:02.5693145Z ERROR: Error during SonarQube Scanner execution
2020-04-28T10:29:02.5693993Z ##[error]ERROR: You're not authorized to run analysis. Please contact the project administrator.
2020-04-28T10:29:02.5694892Z ERROR: You're not authorized to run analysis. Please contact the project administrator.
2020-04-28T10:29:02.5695967Z ##[error]ERROR:
2020-04-28T10:29:02.5696613Z ERROR:
2020-04-28T10:29:02.6344572Z ##[error]The SonarQube Scanner did not complete successfully
2020-04-28T10:29:02.6345843Z The SonarQube Scanner did not complete successfully
2020-04-28T10:29:02.6386976Z ##[error]10:29:02.625 Post-processing failed. Exit code: 1
You’re not authorized to run analysis. Please contact the project administrator.
I am using same credentials in my other pipelines , they are working fine.
One thing which I notice, the project for which this error is ocurring does not open completely if visual studio is not opened in admin mode.
Do we need to make changes to the msbuild as well?
also, given the error message You're not authorized to run analysis. - are you sure you are providing the correct sonar.login ? You may want to generate a token and use that for the analysis - see the docs.