vss-web-extension-sdk icon indicating copy to clipboard operation
vss-web-extension-sdk copied to clipboard

Scope for TFS/DistributedTask/TaskAgentRestClient or /_apis/distributedtask/tasks?api-version=3.0-preview.1

Open Alekseypv opened this issue 8 years ago • 4 comments

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 ?

Alekseypv avatar Aug 18 '16 21:08 Alekseypv

I'm running into the same problem as well. Any updates on this?

sawpresto avatar Oct 13 '16 19:10 sawpresto

Any ideas, @serkan-inci?

sawpresto avatar Oct 25 '16 17:10 sawpresto

Did you guys get anywhere with this? I'm running into th esame thing

radomiakuk avatar May 09 '17 08:05 radomiakuk

U need to use the scope of vso.serviceendpoint. I manage to use this for service endpoints.

wkit23 avatar Sep 17 '17 02:09 wkit23