vss-web-extension-sdk
vss-web-extension-sdk copied to clipboard
Scope for TFS/DistributedTask/TaskAgentRestClient or /_apis/distributedtask/tasks?api-version=3.0-preview.1
Hi Guys, Looks like I need your help I’m trying to query distributedtask in extension and getting 401 error regardless Using Rest or API I tried all scopes mentioned here https://www.visualstudio.com/en-us/docs/integrate/extensions/develop/manifest While I was able to get json from another REST clients, for instance VSS.require(["TFS/Core/RestClient"] or VSS.require(["TFS/Work/RestClient"] So question is what is right scope for TFS/DistributedTask/TaskAgentRestClient ?
I'm running into the same problem as well. Any updates on this?
Any ideas, @serkan-inci?
Did you guys get anywhere with this? I'm running into th esame thing
U need to use the scope of vso.serviceendpoint. I manage to use this for service endpoints.