1

I have been trying to integrate Team city with Visual Studio Team Services and keep getting this error, can anyone help.

I have enabled basic authentication in tfs by going to TFS -> Profile -> basic authentication.

Trying to create a Create Project From URL on TeamCity, Getting error on below setting.

Settings

Repository URL: * https://xxxxxx.visualstudio.com/DefaultCollection/AddBk

Error

Could not create a project by specified URL, URL is not recognized

Esther Fan - MSFT
  • 8,276
  • 4
  • 27
  • 25
Idothisallday
  • 311
  • 1
  • 3
  • 14
  • possible duplicate of [Connect TeamCity to Visual Studio Online](http://stackoverflow.com/questions/24365220/connect-teamcity-to-visual-studio-online) – jessehouwing Jun 29 '14 at 12:25

1 Answers1

1

You need to specify the repository as including the collection but not the project.

So http://mytfs.visualstudio.com/defaultcollection as the repository and then you can specify the $/myTeamProject/[path] in the "root" variable.

http://confluence.jetbrains.com/display/TCD8/Team+Foundation+Server

For credentials I would recommend that you use the server account credentials rather than local user ones. You can get the server credentials through the API or by using the TFS Credential Viewer.