I’m getting the following error when trying to create a new SonarQube Server service connection in Azure DevOps:
“Following fields in the service connection are not expected: region, creationMode. Only fields that are defined in the service connection’s contribution type as inputs can be specified.”
Environment details:
-
SonarQube Server version: 9.9.4 (build 87374), Developer Edition
-
Azure DevOps extension version: 8.2.1 (latest)
-
Service connection type selected: SonarQube Server (not Cloud)
-
Azure DevOps: cloud-hosted (Azure DevOps Services)
Steps to reproduce:
-
Go to Project Settings > Service Connections in Azure DevOps
-
Click New service connection
-
Select SonarQube Server from the list
-
Enter Server URL and token
-
Click Save — error appears
No service connection is created. Please advise on a fix or workaround.