0
votes

i am getting 401 - Unauthorised: Access is denied due to invalid credentials error while i am trying to access the TFS API by Postman
https://www.visualstudio.com/en-us/docs/integrate/api/wit/wiql

this is i am putting in my Postman
http://apactfs.cbre.com:8080/tfs/applications/DefaultCollection/_apis/wit/workitems?ids=297,299,300&api-version=1.0


Postman image

1
Which version of TFS are you using?Cece Dong - MSFT
version is 2015Akhil Jain

1 Answers

1
votes

You need to go to Authorization tab to choose Basic Auth and specify the username and password there:

enter image description here

Make sure you have enable Basic Auth for your TFS:

enter image description here