Azure

從 App Registration 中讀取 Azure DevOps Repo

  • July 11, 2020

是否可以授予 azure app 註冊訪問權限以從 azure devops git 儲存庫中讀取?如果有怎麼辦?

順便說一句,Azure 和 Azure Devops 已通過 Active Directory 連結,因此它們應該能夠共享憑據,但是當我嘗試將其添加到 DevOps 項目中的 Reader 角色時,我的應用程序註冊不會顯示。我還嘗試授予我的應用註冊 API 權限“Azure DevOps user_impersonation”(經管理員同意)。

不,很遺憾,您不能授予服務主體訪問 Azure DevOps 中資源的權限。使用 PAT 令牌是唯一的方法。

引用自:https://serverfault.com/questions/1024687