Cross-tenant connections to Azure DevOps

This document covers a step-by-step guide for configuring Azure DevOps account in another tenant than the Azure Data Factory. This is useful for when your Azure DevOps is not in the same tenant as the Azure Data Factory.

Shows an architectural diagram of a connection from Azure Data Factory to Azure DevOps in another tenant.

Prerequisites

  • You need to have an Azure DevOps account in another tenant than your Azure Data Factory.
  • You should have a project in the above Azure DevOps tenant.

Step-by-step guide

  1. Navigate in Azure Data Factory studio to Manage hubGit configurationConfigure.

    Shows the Azure Data Factory Studio with the Git configuration blade selected.

  2. Select the Cross tenant sign in option.

    Shows the repository configuration dialog with cross tenant sign in checked.

  3. Select OK in the Cross tenant sign in dialog.

    Shows the confirmation dialog for cross tenant sign in.

  4. Choose a different account to login to Azure DevOps in the remote tenant.

    Shows the account selection dialog for choosing an account to connect to the remote Azure DevOps tenant.

  5. After signing in, choose the directory.

    Shows the repository configuration dialog with the directory selection dropdown highlighted.

  6. Choose the repository and configure it accordingly.

    Shows the repository configuration dialog.

Appendix

While opening the Azure Data Factory in another tab or a new browser, use the first sign-in to log into to your Azure Data Factory user account.

You should see a dialog with the message You do not have access to the VSTS repo associated with this factory. Click OK to sign in with the cross-tenant account to gain access to Git through the Azure Data Factory.

Shows the sign-in prompt to associate a VSTS repo with a cross-tenant Azure Data Factory.