onlyutkarsh / ExportImportBuildDefinition

Export and Import your build definitions. Useful for recreating all the build steps, variables, schedules, etc in a different team project/account.
http://bit.ly/exportimportbuild
Other
17 stars 8 forks source link

"TFS.WebApi.Exception: 401: error" exception dialog on export #8

Open ghost opened 7 years ago

ghost commented 7 years ago

Installed product versions

Steps to recreate

  1. Call export from the context menu
  2. Error dialog appears

capture

RedNeckRedCoat commented 7 years ago

Getting the same error for an On premise TFS 2017 installation..

Unable to parse the uploaded JSON due to error TFS.WebApi.Exception: TF400813: Resource not available for anonymous access. Client authentication required.

looking at the logs we see. scripts=VSS%2FAuthentication%2FContracts%3B*RestClient&v=Dev15.M105.5&json fail with a 401 and cs-username is blank.