Skip to main content

Check out Port for yourself ➜ 

Installation

This page details how to install Port's Azure DevOps integration (powered by the Ocean framework). It outlines the following steps:

  • How to create a personal access token to give the integration permissions to query your Azure DevOps account.
  • How to configure and customize the integration before deploying it.
  • How to deploy the integration in the configuration that fits your use case.

Prerequisites

  • An Azure DevOps account with admin privileges.
  • If you choose the real time & always on installation method, you will need a kubernetes cluster on which to install the integration.
  • Your Port user role is set to Admin.

Setup

Create a personal access token

The integration requires a personal access token to authenticate with your Azure DevOps account.
You can create one by following these steps.

The token should either have admin permissions, or read permissions for each of the supported resources you want to ingest into Port.

Deploy the integration

Choose one of the following installation methods:
Not sure which method is right for your use case? Check the available installation methods.

  1. Go to the AzureDevOps data source page in your portal.

  2. Under Select your installation method, choose Hosted by Port.

  3. Configure the Installation parameters and Advanced configuration as you wish (see below for details).

Installation parameters

Each integration requires specific parameters (such as an API token, a URL, etc.), as seen in Port's UI when installing it. Hover over the ⓘ icon next to each parameter to see more details about it.

Advanced configuration

  • During the installation process each integration may have additional settings under the Advanced configuration section in Port's UI.
    Additionally, each integration has one or more settings that can be configured after installation. To do so, click on the integration's name in the Data sources page and navigate to the Setting tab.
    Hover over the ⓘ icon next to each setting to see more details about it.

  • If the integration supports live events, the option to enable/disable them will be available in this section.

    This integration supports live events, allowing real-time updates to your software catalog without waiting for the next scheduled sync.

    Supported live event triggers (click to expand)

    Code Events:

    • git.pullrequest.created
    • git.pullrequest.updated
    • git.push

    Repository:

    • git.repo.created

    Work Item:

    • workitem.created
    • workitem.updated
    • workitem.commented
    • workitem.deleted
    • workitem.restored

    Pipeline Changes:

    • ms.vss-pipelines.run-state-changed-event
    • ms.vss-pipelinechecks-events.approval-completed
    • ms.vss-pipelinechecks-events.approval-pending
    • ms.vss-pipelines.stage-state-changed-event
    • ms.vss-pipelinechecks-events.check-updated-event
    • ms.vss-pipelines.job-state-changed-event

    Advanced Security Alerts:

    • ms.vss-alerts.alert-created-event
    • ms.vss-alerts.alert-state-changed-event
    • ms.vss-alerts.alert-updated-event

Port secrets

Some integration settings require sensitive pieces of data, such as tokens. For these settings, Port secrets will be used, ensuring that your sensitive data is encrypted and secure.

When filling in such a setting, its value will be obscured (shown as ••••••••). For each such setting, Port will automatically create a secret in your organization.

To see all secrets in your organization, follow these steps.

Limitations

  • The maximum time for a full sync to run is based on the configured resync interval. For very large amounts of data where a resync operation is expected to take longer, please use a longer interval.

Port source IP addresses

When using this installation method, Port will make outbound calls to your 3rd-party applications from static IP addresses. You may need to add these addresses to your allowlist, in order to allow Port to interact with the integrated service:

  • Europe (EU): 54.73.167.226, 63.33.143.237, 54.76.185.219
  • United States (US): 3.234.37.33, 54.225.172.136, 3.225.234.99

Live event support

This integration supports live events, allowing real-time updates to your software catalog without waiting for the next scheduled sync.

Supported live event triggers (click to expand)

Code Events:

  • git.pullrequest.created
  • git.pullrequest.updated
  • git.push

Repository:

  • git.repo.created

Work Item:

  • workitem.created
  • workitem.updated
  • workitem.commented
  • workitem.deleted
  • workitem.restored

Pipeline Changes:

  • ms.vss-pipelines.run-state-changed-event
  • ms.vss-pipelinechecks-events.approval-completed
  • ms.vss-pipelinechecks-events.approval-pending
  • ms.vss-pipelines.stage-state-changed-event
  • ms.vss-pipelinechecks-events.check-updated-event
  • ms.vss-pipelines.job-state-changed-event

Advanced Security Alerts:

  • ms.vss-alerts.alert-created-event
  • ms.vss-alerts.alert-state-changed-event
  • ms.vss-alerts.alert-updated-event
Need help?

Having issues with Azure DevOps integration or pipelines? See the Azure DevOps Troubleshooting Guide for step-by-step help.