We have 2 devOps integrations. One off site ADO and 1 on site TFS server. The ADO server looks fine with the integration to sonarqube. The configuration checks out. However, TFS is giving us a “Invalid Azure URL or Personal Access Token” error even after updating the token. We can run a build pipeline and see that an analysis is taking place and all the build pipleline tasks are completing without issue. When completing a Pull Request the SonarQube Quality gate is never updated. Apparently its an old issue that hasn’t been noticed because someone set the quality gate requirement to optional. So what could make it fail in only TFS? The account being used is valid and we gave it full permissions. I also tried using my personal account and creating a PAT token in TFS with no luck. I’ve tried changing the url to include the backslash and without. The url is the correct TFS url ending with the collection that resolves to a page showing our projects.
Enterprise Edition
v2025.1 (102418)
JAVA - JDK 17
os- Windows server
ADO - Azure DevOps server
TFS - Azure DevOps Server 2020