Azure DevOps Integration

Log into your Azure DevOps account or create a new one, and ensure you have a project set up.

Make sure the organization has third-party access via OAuth enabled in the organization settings. 3p-oauth

To use the Azure DevOps integration you'll need to create an application.

To start, you will need access to a Microsoft Entra Admin Portal

Register App

When configuring the app, use the following values:

SettingValue
Supported account typesAccounts in any organizational directory
Redirect URI{YOUR_DOMAIN}/extensions/vsts/setup

Take note of your App ID as we'll need it later. App ID

Next go to Manager -> API Permissions to add the following permissions:

  • Azure DevOps (vso.code, vso.graph, vso.work_item, vso.service_endpoint)
  • Microsoft Graph (User.Read) (This should be added by default)

Permissions

Go to the "Certificates & secrets" tab and create a new client secret. Make sure you copy the secret as we'll need it later.

Client Secret

Add the App ID and Client Secret to devlocal.py like this:

Copied
# Azure DevOps #
SENTRY_OPTIONS["vsts_new.client-id"] = your-app-id
SENTRY_OPTIONS["vsts_new.client-secret"] = your-client-secret

You can also add the App ID and Client Secret to config.yml like this:

Copied
# Azure DevOps #
vsts_new.client-id: your-app-id
vsts_new.client-secret: your-client-secret

You will also need to enable the feature flag to use the new Azure DevOps integration. Enable the migrate-azure-devops-integration feature flag in your organization. Add the following to your devlocal.py file:

Copied
SENTRY_FEATURES["organizations:migrate-azure-devops-integration"] = True

Follow our documentation on installing and configuring the Azure DevOps integration to finish installation and use the integration.

Help improve this content
Our documentation is open source and available on GitHub. Your contributions are welcome, whether fixing a typo (drat!) or suggesting an update ("yeah, this would be better").