对于CSS安全命名空间,VSTS REST API访问控制列表失败 - 无法获取/发布区域节点的ACL [英] VSTS REST API accesscontrollists fails for CSS security namespace - cannot get/post ACL for area node

查看:75
本文介绍了对于CSS安全命名空间,VSTS REST API访问控制列表失败 - 无法获取/发布区域节点的ACL的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在关注
帮助文件
,我发现它适用于某些安全名称空间(即示例代码中使用的名称空间),但是CSS失败,这是我需要获取/发布的内容 区域节点的ACL。


尝试调用此服务:


HTTPS:// {帐户} .visualstudio.com / DefaultCollection / _apis / accesscontrollists / 83e28ad4 -2d72-4ceb-97b0-c7726d5502c3 /?api-version = 1.0


响应为 TF50620:Team Foundation标识范围DB985FB1-FE0D -4EC9-9946-C3BC78524284不存在

 {
" $ id":" 1",
" innerException":null,
" message":" TF5 0620:Team Foundation标识范围DB985FB1-FE0D-4EC9-9946-C3BC78524284不存在",
" typeName":" Microsoft.VisualStudio.Services.Identity.GroupScopeDoesNotExistException,Microsoft.VisualStudio.Services.WebApi, Version = 14.0.0.0,Culture = neutral,PublicKeyToken = b03f5f7f11d50a3a",
" typeKey":" GroupScopeDoesNotExistException",
" errorCode":0,
" eventId":4207
}


什么是DB985FB1-FE0D-4EC9-9946-C3BC78524284 参考?

CSS Guid是正确的。这是我确认的方式:


HTTPS:// {帐户} .visualstudio.com / DefaultCollection / _apis / securitynamespaces / 83e28ad4-2d72-4ceb-97b0-c7726d5502c3 / API-版本= 1.0

解决方案

你好Jan Dolejsi,


 它看起来像是一个带数据库的问题  我建议您打开
的支持票
VSO支持
团队,以获得有关此方面的帮助。


我在下面的链接中找到了这个:


https://social.msdn.microsoft.com/Forums/vstudio/en-US/4e8633f7-6c91-492d-bc5e-7f04b433b786/when-i-try- ?到附加一个新项目到的默认信息收集上,VSO-I-GET-一个错误,说最认同论坛= tfsgeneral和放大器;教授=所需


最好的问候


I am following this help file and I find it working for some security namespaces (namely those used in the sample code), but failing for CSS, which is what I need for getting/posting ACL for an Area node.

Try calling this service:

https://{account}.visualstudio.com/DefaultCollection/_apis/accesscontrollists/83e28ad4-2d72-4ceb-97b0-c7726d5502c3/?api-version=1.0

The response is TF50620: The Team Foundation identity scope DB985FB1-FE0D-4EC9-9946-C3BC78524284 does not exist.

{
    "$id": "1",
    "innerException": null,
    "message": "TF50620: The Team Foundation identity scope DB985FB1-FE0D-4EC9-9946-C3BC78524284 does not exist",
    "typeName": "Microsoft.VisualStudio.Services.Identity.GroupScopeDoesNotExistException, Microsoft.VisualStudio.Services.WebApi, Version=14.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a",
    "typeKey": "GroupScopeDoesNotExistException",
    "errorCode": 0,
    "eventId": 4207
}

What is DB985FB1-FE0D-4EC9-9946-C3BC78524284 referring to?

The CSS Guid is correct. This is how I confirmed it:

https://{account}.visualstudio.com/DefaultCollection/_apis/securitynamespaces/83e28ad4-2d72-4ceb-97b0-c7726d5502c3/?api-version=1.0

解决方案

Hi Jan Dolejsi,

 It appears like it is an issue with database,  I would recommend you to open a support ticket with VSO support team, for assistance on this.

I found this in the link below:

https://social.msdn.microsoft.com/Forums/vstudio/en-US/4e8633f7-6c91-492d-bc5e-7f04b433b786/when-i-try-to-add-a-new-project-to-the-default-collection-on-vso-i-get-an-error-saying-the-identity?forum=tfsgeneral&prof=required

Best Regards


这篇关于对于CSS安全命名空间,VSTS REST API访问控制列表失败 - 无法获取/发布区域节点的ACL的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆