gpt4 book ai didi

tfs - 尝试使用 TFS 跨平台命令行界面将任务上传到 VSO 时访问被拒绝

转载 作者:行者123 更新时间:2023-12-04 13:58:42 25 4
gpt4 key购买 nike

尝试执行以下命令:

tfx build tasks upload --task-path ./SwapDeploymentSlots



将导致:

Error: Failed Request: Forbidden(403) - Access denied. [User name] needs Manage permissions to perform the action. For more information, contact the Team Foundation Server administrator.



用户是 的成员(member)代理池管理员 组,根据 TFS-CLI 的要求 documentation .

关于如何解决这个问题的任何想法?

最佳答案

尝试通过以下步骤将用户添加到 Agent Pool Administrators 组:

  • 从 Web Portal 打开您的 VSO 帐户 (https://xxxxxx.visualstudio.com/)。
  • 单击“设置”按钮打开“控制面板”。
  • 单击“管理集合安全和组成员身份”链接。
  • 搜索 “[Agent Pools]\Agent Pool Administrators”并在“Security”选项卡下选择它。
  • 单击“成员”选项卡下的“添加”按钮将用户添加到组中。
    enter image description here
  • 关于tfs - 尝试使用 TFS 跨平台命令行界面将任务上传到 VSO 时访问被拒绝,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/35024279/

    25 4 0
    Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
    广告合作:1813099741@qq.com 6ren.com