Enable Git Integration for Azure Repos

This page is no longer maintained (Mar 29, 2023). For the most current information, go to https://docs.snaplogic.com/cicd/git-integration/git-integration-azure.html.

 

Overview

You can use Azure Repos with SnapLogic Git Integration. It involves registering in Azure Repos and entering the information from that registration to configure the SnapLogic Git Integration.

Prerequisites

  • In Azure Repos:

    • An Azure Repos repository for SnapLogic assets

    • Azure organization administrator permissions to configure the organization settings and to register an app

    • The Third-party application access via OAuth policy enabled for the Azure organization

  • In SnapLogic:

    • Subscription to the SnapLogic feature Microsoft Azure DevOps Repository for each Org

    • SnapLogic Org admin permissions

Steps

1. In Azure Repos, follow the instructions to register your app.

NOTE: You must register at least once for each pod that you use. Multiple SnapLogic Orgs can use the same registration.

Use the following values:

Field

Value

Field

Value

Application website

https://mypod

Example: https://cdn.elastic.snaplogic.com

Authorization callback URL

https://mypod/api/1/rest/asset/app/oauthcallback

Example: https://cdn.elastic.snaplogic.com/api/1/rest/asset/app/oauthcallback

Authorized scopes

The following selections are required:

  • User profile (write)

  • Code (read, write, and manage)

The Application Settings page displays information that you will need to set up Git Integration in SnapLogic.

 

2. In SnapLogic Manager, go to Settings and click Configure Git.

 

3. In the Configure Git dialog, configure the settings for Git Integration with Azure Repos.

a. From the Git integration type dropdown, select Microsoft Azure Devops Repository.

b. Copy the values from the Azure Repos Application Settings.

In SnapLogic

Copy from Azure Repos

In SnapLogic

Copy from Azure Repos

 

 

Client ID

App ID

App Secret

App Secret

Base URL

Accept the default https://dev.azure.com/.

 

App ID

Accept the default.

 

Client Secret

Client Secret

Authorization callback URL

Set to https://mypod/api/1/rest/asset/app/oauthcallback.

Example: https://cdn.elastic.snaplogic.com/api/1/rest/asset/app/oauthcallback

 

Authorized Scopes

Authorized Scopes

 

Results

All projects within the SnapLogic organization have access to Azure Repos.

Next steps

The assets must be checked out for each project.

Related Content