Search code examples
tfstfs-2015

TFS2015 witadmin exportwitd Error


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!


Solution

  • I tested on my side, cannot reproduce your issue, everything works as expected.

    Whatever you can try below items to narrow down the issue: