Introducing Our Multi-Agent Identity Security Platform

ConductorOne docs

Set up an Azure DevOps connector

ConductorOne provides identity governance and just-in-time provisioning for Microsoft Azure DevOps. Integrate your Azure DevOps instance with ConductorOne to run user access reviews (UARs) and enable just-in-time access requests.

Capabilities

ResourceSyncProvision
Accounts
Projects
Teams
Groups
Repositories

The Azure DevOps connector supports automatic account provisioning.

Gather Azure DevOps credentials

Configuring the connector requires you to pass in credentials generated in Azure DevOps. Gather these credentials before you move on.

A user with Project Collection Administrator role at the organization level and Project Administrator role at the project level must perform this task.

Create a personal access token

  1. In Azure DevOps, navigate to your users settings (the person icon in the top menu bar) and select personal access tokens.

  2. Click + New Token.

  3. Give the new token a name, such as “ConductorOne”, then select the relevant organization and set an expiration date.

  4. Under Scopes, select Custom defined and set the relevant set of scopes:

    To give ConductorOne READ (sync) permissions, set the following:

    • Project and team (read) - vso.project
    • User profile (read) - vso.profile
    • Security (read) - vso.security
    • Code (read) - vso.code
    • Graph (read) - vso.graph
    • Identity (read) - vso.identity
    • MemberEntitlement Management (read) - vso.memberentitlementmanagement

    To give ConductorOne READ/WRITE (provision) permissions, set the following:

    • Project and team (read) - vso.project
    • User profile (read) - vso.profile
    • Security (read) - vso.security
    • Code (read) - vso.code
    • Graph (manage) - vso.graph_manage
    • Identity (read) - vso.identity
    • MemberEntitlement Management (read) - vso.memberentitlementmanagement
    • MemberEntitlement Management (write) - vso.memberentitlementmanagement_write
  5. Click Create.

  6. The new token is created. Carefully copy and save the token.

That’s it! Next, move on to the connector configuration instructions.

Configure the Azure DevOps connector

To complete this task, you’ll need:

  • The Connector Administrator or Super Administrator role in ConductorOne
  • Access to the set of Azure DevOps credentials generated by following the instructions above

Follow these instructions to use a built-in, no-code connector hosted by ConductorOne.

  1. In ConductorOne, navigate to Admin > Connectors and click Add connector.

  2. Search for Azure DevOps and click Add.

    Don’t see the Azure DevOps connector? Reach out to support@conductorone.com to add Azure DevOps to your Connectors page.

  3. Choose how to set up the new Azure DevOps connector:

    • Add the connector to a currently unmanaged app (select from the list of apps that were discovered in your identity, SSO, or federation provider that aren’t yet managed with ConductorOne)

    • Add the connector to a managed app (select from the list of existing managed apps)

    • Create a new managed app

  4. Set the owner for this connector. You can manage the connector yourself, or choose someone else from the list of ConductorOne users. Setting multiple owners is allowed.

    If you choose someone else, ConductorOne will notify the new connector owner by email that their help is needed to complete the setup process.

  5. Click Next.

  6. Find the Settings area of the page and click Edit.

  7. Paste your Azure DevOps organization URL in the format https://dev.azure.com/{Your_Organization} into the Organization URL field.

  8. Paste the token into the Personal Access Token field.

  9. Optional. Check the box if you want to Sync grant sources.

  10. Click Save.

  11. The connector’s label changes to Syncing, followed by Connected. You can view the logs to ensure that information is syncing.

That’s it! Your Azure DevOps connector is now pulling access data into ConductorOne.

Follow these instructions to use the Azure DevOps connector, hosted and run in your own environment.

When running in service mode on Kubernetes, a self-hosted connector maintains an ongoing connection with ConductorOne, automatically syncing and uploading data at regular intervals. This data is immediately available in the ConductorOne UI for access reviews and access requests.

Step 1: Set up a new Azure DevOps connector

  1. In ConductorOne, navigate to Connectors > Add connector.

  2. Search for Baton and click Add.

  3. Choose how to set up the new Azure DevOps connector:

    • Add the connector to a currently unmanaged app (select from the list of apps that were discovered in your identity, SSO, or federation provider that aren’t yet managed with ConductorOne)

    • Add the connector to a managed app (select from the list of existing managed apps)

    • Create a new managed app

  4. Set the owner for this connector. You can manage the connector yourself, or choose someone else from the list of ConductorOne users. Setting multiple owners is allowed.

    If you choose someone else, ConductorOne will notify the new connector owner by email that their help is needed to complete the setup process.

  5. Click Next.

  6. In the Settings area of the page, click Edit.

  7. Click Rotate to generate a new Client ID and Secret.

    Carefully copy and save these credentials. We’ll use them in Step 2.

Step 2: Create Kubernetes configuration files

Create two Kubernetes manifest files for your Azure DevOps connector deployment:

Secrets configuration

# baton-azure-devops-secrets.yaml
apiVersion: v1
kind: Secret
metadata:
  name: baton-azure-devops-secrets
type: Opaque
stringData:
  # ConductorOne credentials
  BATON_CLIENT_ID: <ConductorOne client ID>
  BATON_CLIENT_SECRET: <ConductorOne client secret>
  
  # Azure DevOps credentials
  BATON_ORGANIZATION_URL: <Your Azure DevOps organization URL, formed like https://dev.azure.com/{Your_Organization}>
  BATON_PAT: <Azure DevOps personal access token>

  # Optional: include if you want ConductorOne to provision access using this connector
  BATON_PROVISIONING: true

  # Optional: include if you want to sync grant sources
  BATON_SKIP_UNUSED_ROLES: true

See the connector’s README or run --help to see all available configuration flags and environment variables.

Deployment configuration

# baton-azure-devops.yaml
apiVersion: apps/v1
kind: Deployment
metadata:
  name: baton-azure-devops
  labels:
    app: baton-azure-devops
spec:
  selector:
    matchLabels:
      app: baton-azure-devops
  template:
    metadata:
      labels:
        app: baton-azure-devops
        baton: true
        baton-app: azure-devops
    spec:
      containers:
      - name: baton-azure-devops
        image: ghcr.io/conductorone/baton-azure-devops:latest
        imagePullPolicy: IfNotPresent
        envFrom:
        - secretRef:
            name: baton-azure-devops-secrets

Step 3: Deploy the connector

  1. Create a namespace in which to run ConductorOne connectors (if desired), then apply the secret config and deployment config files.

  2. Check that the connector data uploaded correctly. In ConductorOne, click Applications. On the Managed apps tab, locate and click the name of the application you added the Azure DevOps connector to. Azure DevOps data should be found on the Entitlements and Accounts tabs.

That’s it! Your Azure DevOps connector is now pulling access data into ConductorOne.