是否可以在 Azure Release 管道中从另一个团队项目克隆 Git 存储库?

Is it possible in Azure Release pipeline to clone a Git repo from another team project?

所以我已经设置了一个发布管道,并希望 link 构建管道和 Git 回购作为工件。一切正常,我已经在另一个管道中尝试过了。但是当我尝试克隆位于另一个团队项目中的存储库作为管道时,我收到 Git 错误 128:

remote: TF401019: The Git repository with name or identifier my_repo.git does not exist or you do not have permission for the operation you are attempting.
fatal: repository 'https://MyUrl/MyCollection/MyProject/_git/my_repo.git/' not found
#[error]Downloading artifacts failed: System.InvalidOperationException: Git fetch failed with exit code: 128

但是可以 select 从其他团队项目中回购,所以我认为它在理论上应该可行。这有可能吗,还是我必须更改一些安全设置才能正常工作?如果是这样,我该怎么做?

非常感谢任何帮助!

您应该转到项目设置 -> 管道 -> 设置并取消选择 将作业授权范围限制为引用的 Azure Devops 存储库

这是在 Azure DevOps 项目上默认选中的。