简体   繁体   English

Azure 数据工厂 GitHub 集成私有存储库

[英]Azure Data Factory GitHub Integration Private Repo

I only seem able to integrate my ADFv2 instance with public repos in my organisation, which is undesirable.我似乎只能将我的 ADFv2 实例与我组织中的公共存储库集成,这是不可取的。

In the documentation ( https://github.com/MicrosoftDocs/azure-docs/blob/master/articles/data-factory/source-control.md#author-with-github-integration ), it states that:在文档( https://github.com/MicrosoftDocs/azure-docs/blob/master/articles/data-factory/source-control.md#author-with-github-integration )中,它指出:

..can use both public and private GitHub repositories with Data Factory as long you have read and write permission to the repository..

So, i complete the following steps:所以,我完成了以下步骤:

  1. Navigate to my GitHub Org.导航到我的 GitHub 组织。
  2. Create a new "Private" repo, initialised w/ README.MD.创建一个新的“私人”存储库,使用 README.MD 进行初始化。
  3. Create a new "Internal" repo, initialised w/ README.MD.创建一个新的“内部”存储库,使用 README.MD 进行初始化。 (this is GitHub Enterprise Cloud) (这是 GitHub 企业云)
  4. In the Azure Portal, create a new ADFv2 instance without Git integration.在 Azure 门户中,创建一个没有 Git 集成的新 ADFv2 实例。
  5. Click "Set up code repository" in the ADFv2 instance.单击 ADFv2 实例中的“设置代码存储库”。
  6. Choose, RepoType: GitHub - Authenticate w.选择,RepoType: GitHub - 验证 w。 GitHub pop-up. GitHub 弹出窗口。
  7. Enter org name in to the GitHub Account section.在 GitHub 帐户部分输入组织名称。
  8. Git repo name: No results found Git 存储库名称:未找到结果

在此处输入图片说明

🤷🏼‍♂️ 🤷🏼‍♂️

The solution turned out to be the need to grant access as an Authorized OAuth App to the organisation.结果证明,该解决方案需要向组织授予作为授权 OAuth 应用程序的访问权限。 I did not have permission to do this.我没有这样做的权限。

You can then find it under 'Applications' once done.. but i think when you first connect up your ADF to GitHub, it prompts you if you would like to grant it.完成后,您可以在“应用程序”下找到它……但我认为当您第一次将 ADF 连接到 GitHub 时,它会提示您是否愿意授予它。

I was not seeing this due to permissions on the Org.由于组织的权限,我没有看到这一点。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 如何将Data Factory与私有GitHub存储库集成 - How to integrate Data Factory with private GitHub repo 如何使用Azure REST API创建与私有Github存储库集成的新Azure网站? - How to create a new Azure Website with integration to private Github repo using the Azure REST API? 在 Terraform 部署后通过 Azure 数据工厂发布错误,指向现有的 GitHub 存储库 - Publish Error via Azure Data Factory after Terraform Deployment Pointing to existing GitHub Repo 如何将 Azure 自托管集成运行时连接到数据工厂专用端点? - How do I connect an Azure self-hosted Integration Runtime to a Data Factory private endpoint? Azure 函数使用 ssh 访问私有 github 存储库 - Azure functions use ssh to access private github repo Azure 数据工厂集成运行时不会启动 - Azure Data Factory Integration runtimes will not start Azure 数据工厂集成运行时无法共享 - Azure Data Factory Integration Runtime Cannot be shared 将集成运行时连接到 azure 数据工厂和权限 - Connecting Integration runtime to azure data factory and purview Azure 数据工厂 - Linux 集成运行时框 - Azure Data Factory - Integration Runtime for Linux box 创建Azure数据工厂集成运行时(如果它不存在) - Azure PowerShell - Create Azure Data Factory Integration Runtime if it does not exist - Azure PowerShell
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM