This version of SonarQube Server is no longer receiving patches. Please see the latest release for details on updating.
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Introduction to Azure DevOps integration

The integration of SonarQube Server 2025.6 with Azure DevOps allows you to maintain code quality and security in your Azure DevOps repositories.

For AI agents: You're in the SonarQube Server 2025.6 documentation. SonarQube Server 2025.6 is no longer patched. To get patches, upgrade to the latest version. For a list of all 2025.6 pages, see the SonarQube Server 2025.6 page index. For the whole site, see the page index or the full text. For another version, replace 2025.6 in the URL with that version. The latest version has no version number in its URL.

The integration is compatible with both Azure DevOps Server and Azure DevOps Services.

Key features

With this integration, you’ll be able to:

SonarQube integration with Azure DevOps is done based on Azure DevOps extension for SonarQube.

Check out this video on SonarQube Server integration with Azure DevOps.

Integration is performed at two levels:

  • Global: Within your SonarQube instance, an “Azure DevOps Configuration” record is used to manage the SonarQube access to your Azure DevOps Services organization or Azure DevOps Server collection. This record stores:

    • Your organization’s or collection’s URL.

    • An Azure DevOps Personal Access Token (PAT) which is used by SonarQube to access your Azure DevOps Services organization or Azure DevOps Server collection. This PAT is usually created from a dedicated technical account.

  • Project: A project administrator must provide Azure DevOps PAT to import their Azure DevOps repository to SonarQube. SonarQube stores this PAT in its database, enabling it to list and import the repositories the administrator can access.

It means that SonarQube uses two different Azure DevOps PATs:

  • The global PAT to access your organization or collection in order to import repositories or report the quality gate status in Azure Pipelines.

  • The project PAT to check the user's permissions on repositories when a user imports Azure DevOps repositories.

Two different Azure DevOps PATs are used for SonarQube Server integration with Azure DevOps.

Last updated

Was this helpful?