1

I'm trying to send request into Azure Test API using the personal token I generated at ~/_usersSettings/tokens. I add "Authorization": "Bearer " header to my GET request, but it results in 401 response with an error "TF400813: Resource not available for anonymous access. Client authentication required. - Azure DevOps Server"

How do I do this properly?

JohnDiGriz
  • 171
  • 13

1 Answers1

1

If you are using Personal Access Token, it should be basic auth, not bear token auth.

enter image description here

After that, the request header will be like this:

enter image description here

Bowman Zhu-MSFT
  • 4,776
  • 1
  • 9
  • 10