Azure DevOps On-Premise (Custom Domain)

How to setup Azure DevOps On-Premise for ThinkReview

ThinkReview seamlessly integrates with Azure DevOps Server (On-Premises) hosted on custom domains, bringing AI-powered code reviews directly into your pull requests.

Step-by-Step Setup Guide

1. Create a Personal Access Token

On Azure DevOps, click on your user profile at the top right.

Step 1

2. Access Security Settings

Click on "Security".

Step 2

3. Create New Token

Click on "New Token".

Step 3

4. Configure Token Name

Enter a name for your token (e.g., "ThinkReview").

Step 4

5. Set Token Permissions

Configure the appropriate scopes for the token. Make sure to grant Read access to Code.

Step 5

6. Create the Token

Click on "Create".

Step 6

7. Copy Your Token

Important: Copy the token immediately as it won't be shown again.

Step 7

8. Open ThinkReview Extension

Click on the ThinkReview extension icon in your browser toolbar.

Step 8

9. Navigate to Settings

Go to the Settings section of the ThinkReview extension.

Step 9

10. Configure DevOps Collection URL

Enter your Azure DevOps Collection URL. For on-premise installations, this will be your custom domain followed by the collection name.

Example: http://devops.thinkode.co.uk/DefaultCollection

Step 10

11. Restart Your Browser

After adding the permissions, you might need to fully restart your browser for the AI button to appear.

Step 11

12. Start Using ThinkReview

Now navigate to any pull request and you should find the AI Review button on the bottom right.

Note: If the AI Review button doesn't appear, try restarting your browser completely.

Step 12

Troubleshooting

  • AI Review button not appearing: Fully restart your browser (not just refresh the page).

  • Authentication errors: Verify your Personal Access Token has the correct Code (Read) permissions.

  • Collection URL issues: Ensure your collection URL is correct and includes the collection name (e.g., /DefaultCollection).

Using ThinkReview with On-Premise Azure DevOps

Once configured, ThinkReview works seamlessly with your on-premise Azure DevOps Server:

  • Navigate to an active Pull Request in your Azure DevOps instance.

  • Click the AI Review button on the bottom right of the page.

  • The AI will analyze the diff and provide suggestions, security checks, and best practices directly within your on-premise Azure DevOps interface.