在TFS中设置服务挂钩并创建Azure存储
设置后我无法完成:
Access denied: [XXX]\Project Collection Service Accounts requires the following usage rights on the StrongBox to perform this action: Create StrongBox Drawer
也许我需要拥有权限?
不知道怎么解决这个问题?
您需要编辑订阅和查看订阅权限才能设置订阅。
默认情况下,只有项目管理员具有这些权限。要直接将它们授予其他用户,您还可以从命令行使用tfssecurity.exe
。例如:
tfssecurity /a+ /collection:https://dev.azure.com/fabrikam/DefaultCollection ServiceHooks PublisherSecurity/abcdef00-abcd-0000-0000-abcdef000000 ViewSubscriptions n:[email protected] ALLOW
和
Copy
tfssecurity /a+ /collection:https://dev.azure.com/fabrikam/DefaultCollection ServiceHooks PublisherSecurity/abcdef00-abcd-0000-0000-abcdef000000 EditSubscriptions n:[email protected] ALLOW
GUID是项目的ID。你可以使用Projects REST API获得它。