We used a TFS 2015 server for many years, and only recently (last 12 months or so) upgraded to AZDO 2019 In the process, we appear to have lost the ability to upload new Build Task definitions, something that we do fairly infrequently, but when we need it, we need it. We use a script almost completely lifted from here: https://blogs.infosupport.com/custom-build-tasks-in-tfs-2015/ However, when we try it now, we get a 404 error.
GETting from _apis/distributedtask/tasks/{id} appears to work fine.
PUTting to it (to upload a new version of the task) is not working (returns 404)
I have modified the script to pass api-version=4.0 or 5.0, etc but can find no value that helps. I can find no mention anywhere of the /tasks API on any documentation pertaining to 2019 which is what I believe our server is running. All documentation for "modern" versions of AZDO seem to hint at /taskgroups as being something to investigate but none of those REST requests work either.
Where do I go from here? How do I determine the actual APIs that are being offered by our (onsite) AZDO Server?
This site is tag based so without tags there would be no origination and no method to filter threads.