Configure Azure Repos and the Git Integration

Configuration for the SnapLogic Git Integration to use Azure Repos.

To use Azure Repos, register SnapLogic with Azure Repos and configure the Git Integration feature in your SnapLogic environment. Each Azure Repos registration applies to one control plane (elastic.snaplogic.com, uat.elastic.snaplogic.com, or emea.snaplogic.com) and covers all environments on that control plane.

  • In Azure Repos, you need:
    • One or more Azure Repos repositories 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 the SnapLogic environment:
    • Subscription to the SnapLogic feature Microsoft Azure DevOps Repository for each environment (Org in Classic Manager)
    • Environment admin permissions

Steps

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

    Register an app - details form

    Use the following values:
    Field Value
    Application website https://control-plane-name

    Example:

    Where control-plane-name is the control plane you are using. For example:
    • elastic
    • uat
    • emea
    Authorization callback URL https://control-plane-name/api/1/rest/asset/app/oauthcallback

    Example: https://cdn.control-plane-name.snaplogic.com/api/1/rest/asset/app/oauthcallback

    Where control-plane-nameis the control plane you are using. For example:
    • elastic
    • uat
    • emea
    Authorized scopes The following selections are required:
    • User profile (write)
    • Code (full)

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

    • Toggle On the Third-party application access via OAuth setting for your organization in the Azure Repository. You can find this setting at Organization Settings > Security > Policies > Application connection policies.


      Azure Repo Setting - Third-party Access to OAuth

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


    Manager - Settings - Git Integration

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

    1. From the Git integration type dropdown, select Microsoft Azure Devops Repository.
    2. Copy the values from the Azure Repos Application Settings.
    In the SnapLogic environment Copy from Azure Repos

    Configure Git dialog


    Application Settings of the newly registered app

    App ID App ID
    App Secret App Secret
    Base URL

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

    Client Secret Client Secret
    Authorization callback URL

    Set to https://control-plane-name/api/1/rest/asset/app/oauthcallback.

    Where control-plane-name is the control plane you are using. For example:
    • elastic
    • uat
    • emea
    Authorized Scopes Authorized Scopes

    In SnapLogic Admin Manager, navigate to System Configuration and select Git Integration. In the Git Integration page, configure the settings for Git integration with Azure Repos.

    1. From the Git integration type dropdown, select Microsoft Azure Devops Repository.
    2. Copy the values from the Azure Repos Application Settings.
    In the SnapLogic environment Copy from Azure Repos

    Configure Git dialog


    Application Settings of the newly registered app

    App ID App ID
    App Secret App Secret
    Base URL

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

    Client Secret Client Secret
    Authorization callback URL

    Set to https://control-plane-name/api/1/rest/asset/app/oauthcallback.

    Where control-plane-name is the control plane you are using. For example:
    • elastic
    • uat
    • emea
    Authorized Scopes Authorized Scopes
The SnapLogic environment is configured to connect to Azure Repos.
Have users authorize SnapLogic to access Azure Repos.