1
votes

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

1

1 Answers

1
votes

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.