6
votes

I have a couple project in Visual Studio Online (VSO), which I would like to move to my GitHub account. In VSO all projects are not publicly-readable. You must be authenticated using Microsoft Account (MA).

I tried to use the GitHub Importer (https://import.github.com/new) to do that. The importer asked me for read-only credentials to reach out to my project. Unfortunately, it cannot go through authentication event though I provide my MA credentials.

Is there anybody know how to import a project from Visual Studio Online to GitHub? Is it even possible?

2
Is importing a Visual Studio project really any different from, say, a J2EE project or something in iOS?Tim Biegeleisen
VSO is TFS-as-a-Service. My projects are stored in Team Foundation Version Control (TFVC), which can handle whatever language.Oleg Burov

2 Answers

10
votes

Okay. I figured it out. You must enable the alternate authentication credentials as described in the following article. After that the importer starts doing its job:

https://web.archive.org/web/20161204015026/https://www.visualstudio.com/en-us/docs/integrate/get-started/auth/overview

1
votes

If you're importing from Azure DevOps, don't use your account credentials while importing. Instead goto Azure Repos, select your repo which you are importing, then click on Clone and then click on Generate Credentials and then use those credentials in GitHub importer.