SonarQube not generating report - The main branch has no lines of code

Hi @chirag.ashiyani ,

Welcome to SonarSource Community! :sonarsource:

Please add sonar.verbose=true to the extraProperties key in SonarQubePrepare task with Azure pipelines yaml and share the logs here.

If you want a quick solution that may not necessarily pertain to your problem, you can try this solution by setting sonar.scm.exclusions.disabled=true, but you should check your logs first.

Joe