I am using SonarQube Enterprise 8.3 version and Azure Deops ALM to execute the analysis.
I executed analysis on 4 branches for a particular project. While doing so I found that 1 of the branch result was not showing in SonarQube, after analysis I found that the result was over-written to the main branch.
I was able to resolve it, it was basically overritting the main branch from the GIT default branch.
Whatever branch we set as a default in GIT, that will be considered as main branch on sonarqube.
I just changed the default branch in git, and rerun the analysis, the issue is resolved.