We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I am running TFS 2017 on prem update 2
$tfsUrl = 'https://tfs:444/tfs' $projectId = 'd18ff858-xxxxxxxx' $teamId = '9907188a-xxxxxxxx' $tfsRepos = "$tfsUrl/Common/$projectId/_apis/search/codesearchresults?api-version=4.1-preview.1" $secureCredential = Get-Credential $allResults = (Invoke-RestMethod -Uri $tfsRepos -Method Post -Credential $secureCredential).value $allResults= $allResults | Select -first 20
I am getting this error
Invoke-RestMethod : Page not found. - Microsoft Team Foundation Server
Reference ( Could not find TFS Api reference only for the VSTS one is there ) https://docs.microsoft.com/en-us/rest/api/vsts/search/code%20search%20results/fetch%20code%20search%20results
The text was updated successfully, but these errors were encountered:
Hi, i have same problem. Did you find any solution?
Thanks
Sorry, something went wrong.
No branches or pull requests
I am running TFS 2017 on prem update 2
$tfsUrl = 'https://tfs:444/tfs'
$projectId = 'd18ff858-xxxxxxxx'
$teamId = '9907188a-xxxxxxxx'
$tfsRepos = "$tfsUrl/Common/$projectId/_apis/search/codesearchresults?api-version=4.1-preview.1"
$secureCredential = Get-Credential
$allResults = (Invoke-RestMethod -Uri $tfsRepos -Method Post -Credential $secureCredential).value
$allResults= $allResults | Select -first 20
I am getting this error
Invoke-RestMethod :
Page not found. - Microsoft Team Foundation Server
Reference ( Could not find TFS Api reference only for the VSTS one is there )
https://docs.microsoft.com/en-us/rest/api/vsts/search/code%20search%20results/fetch%20code%20search%20results
The text was updated successfully, but these errors were encountered: