A question that comes up semi-frequently regarding Azure DevOps pipelines is: why do I have to set up a SonarQube (or Cloud) server connection for every project I want analyzed?
The answer: you probably don’t have to. Microsoft has documented the means by which you can share these connections across projects within an organization.
Why do I say ‘probably?’ Because, as noted in the MS doc, this isn’t necessarily rolled out to all organizations within Azure, although they say you can request it. Personally, I found it available in both of the Azure organizations that I belong to.