How does sonarcloud know which user to pick? Is it from the PAT token? I want to change this so it’s not my user and instead a dedicated ‘sonarcloud’ user as it’s not me actually adding the comments if that makes sense
It’s indeed picked from the PAT. That’s partly why we state in our documentation on Azure DevOps Integration
We strongly encourage you to add a technical user to your organization, log in to SonarCloud using that technical user, and use the access token of that technical user to connect your Azure DevOps organization to SonarCloud.