You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/synapse-analytics/cicd/source-control.md
+27-2Lines changed: 27 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -17,7 +17,7 @@ By default, Synapse Studio authors directly against the Synapse service. If you
17
17
This article will outline how to configure and work in a Synapse workspace with git repository enabled. And we also highlight some best practices and a troubleshooting guide.
18
18
19
19
> [!NOTE]
20
-
>Synapse Studio git integrationis not available in the Azure Government Cloud.
20
+
>To use GitHub in Azure Gov and Azure China, you can bring your own GitHub OAuth application in Synapse Studio for git integration. The configure experience is same with ADF. You can refer to the [announcement blog](https://techcommunity.microsoft.com/t5/azure-data-factory/cicd-improvements-with-github-support-in-azure-government-and/ba-p/2686918).
21
21
22
22
## Prerequisites
23
23
Users must have the Azure Contributor (Azure RBAC) or higher role on the Synapse workspace to configure, edit settings and disconnect a Git repository with Synapse.
@@ -48,13 +48,14 @@ You can associate a Synapse workspace with an Azure DevOps Repository for source
48
48
49
49
When connecting to your git repository, first select your repository type as Azure DevOps git, and then select one Azure AD tenant from the dropdown list, and click **Continue**.
50
50
51
-

51
+

52
52
53
53
The configuration pane shows the following Azure DevOps git settings:
54
54
55
55
| Setting | Description | Value |
56
56
|:--- |:--- |:--- |
57
57
|**Repository Type**| The type of the Azure Repos code repository.<br/> | Azure DevOps Git or GitHub |
58
+
|**Cross tenant sign in**| Checkbox to sign in with cross tenant account. | unselected (default) |
58
59
|**Azure Active Directory**| Your Azure AD tenant name. |`<your tenant name>`|
59
60
|**Azure DevOps account**| Your Azure Repos organization name. You can locate your Azure Repos organization name at `https://{organization name}.visualstudio.com`. You can [sign in to your Azure Repos organization](https://www.visualstudio.com/team-services/git/) to access your Visual Studio profile and see your repositories and projects. |`<your organization name>`|
60
61
|**ProjectName**| Your Azure Repos project name. You can locate your Azure Repos project name at `https://{organization name}.visualstudio.com/{project name}`. |`<your Azure Repos project name>`|
@@ -87,6 +88,30 @@ After these configuration steps, your personal repo is available when you set up
87
88
88
89
For more info about connecting Azure Repos to your organization's Active Directory, see [Connect your organization to Azure Active Directory](/azure/devops/organizations/accounts/connect-organization-to-azure-ad).
89
90
91
+
### Use a cross tenant Azure DevOps account
92
+
93
+
When your Azure DevOps is not in the same tenant as the Synapse workspace, you can configure the workspace with your cross tenant Azure DevOps account with the guide below.
94
+
95
+
1. Select the **Cross tenant sign in** option and click **Continue**
96
+
97
+

98
+
99
+
1. Select **OK** in the dialog box.
100
+
101
+

102
+
103
+
1. click **Use another account** and login with your Azure DevOps account.
104
+
105
+

106
+
107
+
1. After signing in, choose the directory and repository and configure it accordingly.
108
+
109
+

110
+
111
+
> [!NOTE]
112
+
> To login the workspace, you need to use the first sign-in to log into to your Synapse workspace user account. Your cross tenant Azure DevOps account is only used for signing into and getting access to the Azure DevOps repo associated with this Synapse workspace.
113
+
114
+
90
115
## Connect with GitHub
91
116
92
117
You can associate a workspace with a GitHub repository for source control, collaboration, versioning. If you don't have a GitHub account or repository, follow [these instructions](https://github.com/join) to create your resources.
0 commit comments