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: The user doesn't have access to the service endpoint(s) added to this definition or they are not found. Names/IDs: #46

Open talexandroni opened 5 years ago

talexandroni commented 5 years ago

Installed product versions

Description

TFS.WebApi.Exception: The user doesn't have access to the service endpoint(s) added to this definition or they are not found. Names/IDs:

Steps to recreate

We have TFS 2018 update 2 and are on-premise 1.create endpoints in new project or collection

  1. export build definitiion 3.import .json to project or collection
  2. get import export window saying : if the import succeeds, it will create a new definition named TestTableauJenkins Build queue ReportPool (id: 522) referenced in the JSON is not found. The definition will use build queue ReportPool (id: 114) instead.
  3. after clicking import get message TFS.WebApi.Exception: The user doesn't have access to the service endpoint(s) added to this definition or they are not found. Names/IDs: id # here but we can't find it in our database. it changes to a different ID per user.

Current behavior

failure on import to project on same collection or project in a different collection

Expected behavior

allows to import