I am using on-premise TFS 2015(15.117.27024.0). I created a new root project and wanted to export the Work Item definitions so I can add a few fields that are not in the default layout, as described here
I can export the project config and categories without any issue.
The command I am running(replaced URL with example.com):
"C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\witadmin" exportwitd /collection:"https://tfs.example.com/tfs" /p:"Library" /n:"Feature" /f:"Library_Feature.xml"
Result:
API resource location 8637ac8b-5eb6-4f90-b3f7-4f2ff576a459 is not registered on https://tfs.example.com/tfs.
I did this several years ago for another project but never had this problem.
Thanks for any help!
I tested on my side, cannot reproduce your issue, everything works as expected.
Whatever you can try below items to narrow down the issue:
Try to export the WIT definition file with Process Editor (Power Tools)
Visual Studio 2015 : Microsoft Visual Studio Team Foundation Server 2015 Power Tools
Visual Studio 2017 : TFS Process Template Editor