Connecting a VCS Root to a Visual Studio Team Services configured with Team Foundation Server.
Navigate to your Team Project at https://[your project].visualstudio.com
And navigate to “security” or navigate directly with this link:
After you have generated a Personal Access Token you can fill it in the password field. Use your microsoft email as username and the generated token for password.
Note! As of Sept 2016 Visual Studio Team Services only allow a token to last for 1 year. So do remember to update the used tokens when they expire.