简体   繁体   English

Azure Synapse - Github 个人访问令牌无效

[英]Azure Synapse - Github personal access token is invalid

I have linked a github repo to an Azure synapse account, and all the resources, pipelines, data flows, etc are successfully committed in ARM files in the repo我已将 github 存储库链接到 Azure 突触帐户,并且所有资源、管道、数据流等都已成功提交到存储库中的 ARM 文件中

However, when another developer tries to access this synapse workspace he gets the following error "Retrieve GitHub Access Token - The personal access token is invalid. Please provide a valid token"但是,当另一个开发人员尝试访问此突触工作区时,他收到以下错误“检索 GitHub 访问令牌 - 个人访问令牌无效。请提供有效令牌”

When he logs into github through synapse, he is never prompted to enter his PAT.当他通过突触登录 github 时,系统从未提示他输入 PAT。 He has full ownership rights on the github repo and is an admin on the Azure subscription and owner of the synapse workspace他拥有 github 存储库的全部所有权,并且是 Azure 订阅的管理员和突触工作区的所有者

在此处输入图像描述

We figured this out with help from Microsoft support - turns out it was nothing to do with personal access tokens and was just a permissions issue in Azure, when I made the other developer a Synapse Administrator.我们在 Microsoft 支持的帮助下解决了这个问题 - 事实证明这与个人访问令牌无关,只是 Azure 中的权限问题,当时我让其他开发人员成为 Synapse 管理员。

The key was to make him a Synapse Administrator from within the workspace itself (under the manage tab) as opposed to an owner of the workspace, set within Azure portal:关键是让他成为工作区本身(管理选项卡下)的 Synapse 管理员,而不是工作区的所有者,在 Azure 门户中设置:

在此处输入图像描述

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

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM