Skip to content

Commit 6c918b3

Browse files
Merge pull request #191567 from liudan66/crosstenant
Support cross tenant account
2 parents 2f7a247 + e6d1272 commit 6c918b3

7 files changed

+27
-2
lines changed
43.9 KB
Loading
Binary file not shown.
43.4 KB
Loading
190 KB
Loading
47.4 KB
Loading
59.8 KB
Loading

articles/synapse-analytics/cicd/source-control.md

Lines changed: 27 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ By default, Synapse Studio authors directly against the Synapse service. If you
1717
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.
1818

1919
> [!NOTE]
20-
> Synapse Studio git integration is 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).
2121
2222
## Prerequisites
2323
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
4848

4949
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**.
5050

51-
![Configure the code repository settings](media/connect-with-azuredevops-repo-selected.png)
51+
![Configure the code repository settings](media/connect-with-azure-devops-repo-selected.png)
5252

5353
The configuration pane shows the following Azure DevOps git settings:
5454

5555
| Setting | Description | Value |
5656
|:--- |:--- |:--- |
5757
| **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) |
5859
| **Azure Active Directory** | Your Azure AD tenant name. | `<your tenant name>` |
5960
| **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>` |
6061
| **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
8788

8889
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).
8990

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+
![Select the cross tenant sign in ](media/cross-tenant-sign-in.png)
98+
99+
1. Select **OK** in the dialog box.
100+
101+
![Confirm the cross tenant sign in ](media/cross-tenant-sign-in-confirm.png)
102+
103+
1. click **Use another account** and login with your Azure DevOps account.
104+
105+
![Use another account ](media/use-another-account.png)
106+
107+
1. After signing in, choose the directory and repository and configure it accordingly.
108+
109+
![Choose the directory ](media/cross-tenant-aad.png)
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+
90115
## Connect with GitHub
91116

92117
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

Comments
 (0)