Quantcast
Channel: Active questions tagged nuget-package - Stack Overflow
Viewing all articles
Browse latest Browse all 3067

Getting "403 : forbiden" on Team Founation Server over API Remote access

$
0
0

I am trying to update my test results using the Microsoft.TeamFoundationServer.Client nuget package.Hence, I am using c# code.

I connect to our server using Personnal Access Token (PAT) having full access

Method called for update is the following :

 await TestManagementClient.UpdateTestResultsAsync(new TestCaseResult[] { testResult }, Project.TeamProjectName, testRunId);

Result

I am getting an exception saying only Forbidden (typically a 403 error) but hold on, when I establish VPN connection on my PC (to our server), the same code works!!

Does anyone have an idea? Any missing permission or something like that?


Viewing all articles
Browse latest Browse all 3067

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>