Learn how to help your team build confidently (and securely!) in prod in our upcoming Tech Talk: Sign up here.

OpsLevel supports integrating with Azure DevOps Services to unlock the same functionality we provide through our other git integrations.

Set up a service account in Azure DevOps

In order to integrate with OpsLevel, we recommend creating a service account. This is because Azure DevOps application installations are bound to an individual user. By using a service account, you give administrators control over what Organizations, and Projects OpsLevel has access to.

To ensure OpsLevel will have sufficient permissions to access your Azure DevOps repositories, you must:

  1. Enable Third-party application via OAuth for each Organization that this user has access to.
  2. This allows OpsLevels access to the organization.
  3. This user must be in the Project Administrators Group for each Project that this user has access to.
  4. This allows OpsLevel to create subscriptions for Git Repository push events to allow us to synchronize data in real-time

Add an Azure DevOps integration in OpsLevel

Once the Azure DevOps user has been configured, you will be able to integrate your OpsLevel account with your Azure DevOps instance by:

  1. In the OpsLevel app, clicking Integrations in the left sidebar.
  2. Clicking on the + New Integration button.
  3. Clicking the Azure DevOps integration card.
  4. Follow the instructions from Azure DevOps to approve the application.

OpsLevel will validate that the correct permissions are available for all the Organizations and Projects that the Azure DevOps user has access to. OpsLevel will then create the integration and start importing data from Git repositories and monitor them for changes.

Troubleshooting

During the integration installation process, OpsLevel validates that all organizations and projects have the correct permissions. If permissions are not granted, the installation will fail with error(s).

Organization Third-party application access via OAuth

This occurs when the organization does not have Third-party application via OAuth enabled for the Organization access policies.

Enable Third-party application via OAuth for each Organization that this user has access to.

Edit/View Subscriptions

This occurs when the Azure DevOps user installing the OpsLevel application does not have permissions to Edit or View subscriptions. These subscriptions are used to monitor the Azure DevOps Git repositories for changes.

This user must be in the Project Administrators Group for each Project that this user has access to.


If you have any questions or feedback, let us know at info@opslevel.com.