如何添加 AD 组以在 VSTS 的发布管理中使用队列?

How to add an AD group to use queues in Release Management in VSTS?

在 Visual Studio Team Services 中,我尝试定义权限以允许特定组权限管理发布定义。

因此,我将 Active Directory 组添加到团队项目的 Release Administrators 组中。如果来自特定组的用户登录 Visual Studio Team Services 并尝试创建发布定义(或执行一些其他管理操作),他会收到以下错误:

Access denied. UserX needs Use permissions for queue Default to perform this action. For more information, contact the Team Foundation Server administrator

似乎用户通常具有创建发布定义的权限,但缺少发布队列的权限。如何授予特定 Active Directory 组对代理队列的使用权限?

如果我将 Active Directory 组也添加到默认集合级别的 Project Collection Build Administrators 组,管理发布定义工作。但这也将授予他们构建定义的权限,而他们并不需要。

您应该根据需要将 AD 组添加到 Agent Queue Users 组或 Agent Queue Administrator 组。为此,请转到 Collection/Account 级别

设置中的代理队列选项卡