Skip to content

Azure DevOps Services (dev.azure.com and visualstudio.com)

This page is for Azure DevOps Services hosted by Microsoft:

  • dev.azure.com
  • *.visualstudio.com, for example https://yourorg.visualstudio.com

ThinkReview reviews pull requests on both of those hosts. Azure DevOps Server on your own domain is a different setup: Azure DevOps On-Premise.

Install the extension, then connect dev.azure.com or *.visualstudio.com.

Use this when you are an admin of the Azure DevOps organization. Connect with Azure DevOps is the same button as in the extension. It signs in with a Microsoft work or school account and authorizes the ThinkReview enterprise app in Microsoft Entra ID.

There is no organization picker. The connection can read the cloud organizations that account can already access, on both dev.azure.com and *.visualstudio.com. Personal Microsoft accounts cannot use this button.

You need admin access to the Azure DevOps organization so you can grant consent for the enterprise app.

Connect with Azure DevOps

Microsoft then asks you to accept the permissions ThinkReview requests, including Code (read and write) and Consent on behalf of your organisation. Click Accept.

Permissions requested for the ThinkReview enterprise app. Accept to consent on behalf of your organisation.

You cannot grant that consent. Microsoft will tell you an admin has to approve the app. Choose Option 2 and authenticate with a personal access token.

Use a personal access token when you are not an admin of the Azure DevOps organization. A token is also how you limit access to one organization, and it is required for a personal Microsoft account.

  1. Generate a PAT in Azure DevOps:
    • Go to User settings (top right) > Personal access tokens.
    • Click + New Token.
    • Name it “ThinkReview”.
    • Give it Read access to Code.
    • Copy the token.
  2. Add it in the portal on Integrations. Open Azure DevOps and click Add PAT.
    • Set Variant to Azure DevOps Services — dev.azure.com, or Azure DevOps Services — *.visualstudio.com if that is the host you use.
    • Paste the organization root URL from the browser, for example https://dev.azure.com/yourorg/. The host must match the variant.
    • Paste the personal access token.

Add an Azure DevOps personal access token on Integrations: choose the dev.azure.com variant, paste the organization URL, then paste the token.

  1. Click Check Permissions. A valid token shows Code (Read) and All required permissions are enabled. Then click Save.

Check Permissions confirms the Azure DevOps token is valid and Code (Read) is enabled.

You can also save the same token in the extension. Open Azure DevOps Cloud (dev.azure.com and *.visualstudio.com), paste it under Personal access token, and click Save Token.

Once configured, the ThinkReview button will appear on the bottom right of any Pull Request page on dev.azure.com or *.visualstudio.com.

  1. Navigate to an active Pull Request.
  2. Click the ThinkReview button on the bottom right of the page.
  3. The AI will analyze the diff and provide suggestions, security checks, and best practices directly within the Azure DevOps interface.

The review opens beside the pull request, with findings grouped by severity.

ThinkReview open on an Azure DevOps pull request, with the review loaded: a Critical finding and High findings in the side panel.