Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.qodo.ai/llms.txt

Use this file to discover all available pages before exploring further.

Qodo works natively with Azure DevOps, using Microsoft Entra ID to authenticate and authorize access to Azure DevOps APIs, pull request workflows, and Azure Boards work items. You can configure Qodo for a single repository or project, or expand it across multiple projects within your Azure DevOps organization. Configuration typically takes around 5–10 minutes. The wizard supports two authentication methods:
  • OAuth app registration (recommended): Best for enterprise environments. Uses Azure AD app registration for automated access.
  • Personal access token (PAT): Suitable when Azure AD admin access is unavailable.
Once installed, Qodo automatically processes pull requests and delivers actionable insights, such as code reviews, descriptions, and improvement suggestions, directly within your Azure DevOps workflow.

Prerequisites

Before you begin, ensure you have:
  • Access to your Qodo portal.
  • A Qodo environment configured for Azure DevOps (provided by your Qodo Account Manager).
Based on your authentication method, you need:
  • OAuth: Azure AD administrator permissions to create app registrations and grant admin consent. Before proceeding, review the requirements and common issues below.
    If you encounter issues, these are common causes:
    • Missing admin permissions: You cannot create or install the app without Project Collection Administrator access.
    • No available licenses: The installation fails if no Basic access licenses are available.
    • Restricted consent policies: Your organization’s Microsoft Azure security policies may block authorization.

    Required permissions

    To install the app, you must be a Microsoft Entra ID administrator (Cloud Application Administrator or Global Administrator).To complete the setup, you must also be an Azure DevOps organization administrator (Organization Owner or Project Collection Administrator) to add the service principal and grant access to projects, repositories, and webhooks.
    1. Go to the Microsoft Entra admin center.
    2. Navigate to Users, select a user, then open Administrative roles.
    3. Click Add assignments.
    4. Assign Global Administrator or Cloud Application Administrator.
    Changes may take a few minutes to propagate.
    Azure AD tenant-level consent and policies settings in Microsoft Azure portal

    Access rights

    • Azure DevOps organization settings.
    • User management.
    • App registrations in the Azure portal.
    • Install and remove applications.
    • Manage users and permissions.

    Licenses

    • At least one Basic access license must be available for the Qodo app user. Free organizations may have a limit (for example, 5 users). If no license is available, the installation fails.
    • User consent settings: “Do not allow user consent” may prevent app authorization.
    • Admin consent requirements: Your organization may require admin approval for app permissions.
    • Microsoft-managed consent policies: These can restrict which apps can be installed or what permissions they can request.
  • PAT: A personal access token with the required scopes.
    Before you begin
    • Ensure you are added to the required Azure DevOps organization.
    • You must belong to the Project Collection Administrators group. Go to Organization Settings → Permissions → Project Collection Administrators → Members to verify.
    Azure DevOps Project Collection Administrators members list
    1. Go to Azure DevOps.
    2. Open User Settings in the top-right corner.
    3. Select Personal Access Tokens from the dropdown.
    Azure DevOps user settings dropdown showing Personal Access Tokens option
    1. Click New Token.
    The Organization dropdown controls the token’s scope. Selecting a specific organization restricts the token to that organization only. Selecting All accessible organizations grants access across all organizations.
    Azure DevOps Create a new personal access token dialog showing Name field, Organization dropdown with specific organization and All accessible organizations options, and Scopes section with Custom defined selected
    Required scopes
    PAT scopes alone are not sufficient. The user who creates the PAT must also have project-level permissions (typically Project Admin) for webhook creation and PR operations to succeed.
    ScopeAccessPurpose
    CodeRead & WriteRepository and PR access.
    Project and TeamRead & WriteWebhook (Service Hooks) management.
    Pull Request ThreadsRead & WriteCommenting on pull requests.
    WikiRead & WriteRead, create, and update the project wiki.

Access the Azure DevOps integration

1
Log in to your Qodo portal.
2
From the left-hand navigation menu, select Integrations.
3
Locate the Azure DevOps integration card and click Add installation to launch the installation wizard.

Install Qodo on Azure DevOps

1

Installation type

Select the authentication method that fits your environment. OAuth app registration is selected by default. If you are using a personal access token instead, select the Personal access token (PAT) tab below. Steps 2 and 3 do not apply. Proceed directly to Step 4.
Azure DevOps installation type screen showing OAuth app registration and PAT options
2

Review manifest

OAuth only. PAT users: skip to Step 4.
Review the application manifest before installation.
Azure DevOps review manifest screen showing JSON permissions and scopes
The manifest defines the permissions and scopes Qodo requires.
  • Click Continue.
3

Install guide

OAuth only. PAT users: skip to Step 4.
The wizard displays a guide for the two steps that will take place in Microsoft’s environment. Review them below, then click Install to proceed.
1

Azure Admin

Create an Azure application for Qodo. You must be an Azure AD administrator and grant admin consent to complete this step. The process on the Microsoft Azure portal may take up to a minute.
Azure DevOps install guide showing Azure Admin step with Microsoft permissions requested preview
2

ADO Admin

A service principal (the app’s identity in Azure AD) is added to your Azure DevOps organization, granting Qodo the required access rights. You must be an Azure AD administrator and grant admin consent to complete this step.
Azure DevOps install guide showing ADO Admin step with Microsoft Pick an account preview
  • Click Install (opens in a new tab) to begin.
4

Connect repositories

1

Find your repositories

Use the search bar to find specific repositories, or browse the tree: Organization → Projects → Repositories.
Azure DevOps connect repositories screen showing org, project, and repository tree with checkboxes
This step may take up to a minute to load.
2

Select repositories

Select individual repositories, an entire project, or the full organization.
Repositories that already have Qodo installed are not available for selection. To reinstall, remove the existing installation first.
3

Continue

Click Setup to continue. If you see an error, see Common issues and detailed requirements.
5

Check connection

Qodo automatically sets up the required webhooks.
Azure DevOps check connection screen showing successful installation confirmation
Once complete, a confirmation is displayed.
  • Click Sync to proceed.
6

Enable Qodo

Qodo is now enabled for the selected repositories.
Azure DevOps enable Qodo screen showing connected repositories count and enabled capabilities
The confirmation screen shows the number of connected repositories and confirms that AI code review, auto rule generation, and codebase context are active.
  • Click Finish installation.
Qodo is now active on the selected repositories. You can return to this wizard at any time to add more repositories.

Verify the installation

1
Open a new pull request in one of the connected repositories and confirm Qodo is triggered automatically.
2
Add a comment using one of the supported commands:
  • /agentic_describe
  • /agentic_review
Qodo should respond with a review or PR summary directly on the pull request.

What’s next

View Using Qodo in PRs to learn about next steps and how to get the most out of Qodo.