gh ado2gh migrate-repo support for Azure devops Server on-prem
Does this tool support migration of repository from azure devops server on-prem installation ?
What I tried:
1. Exporting PAT token env variables
root@pt-deb01:~# export GH_PAT="ghp_FGp82XUcek43gfdDcg1hPld3dvgZqx32l5mB" root@pt-deb01:~# export ADO_PAT="s9ldha34fmxv625rjfi3h44o6t4lfvpwnkgy7nos5a2bgktcrswq"
2. Run migration command:
gh ado2gh migrate-repo --ado-org https://azuredevops.mycompany.local/DefaultCollection --ado-team-project ProjectName --ado-repo repo-name --github-org org-name --github-repo repo-name
Error inside verbose log file:
[2025-07-28 12:54:05] [DEBUG] RESPONSE (OK): {"data":{"node":{"id":"RM_kgDaACRjOWE4MDUxYi04NDY0LTQ1YjYtYTM3NC1mZmQwMzNhNzliNWE","sourceUrl":"https://dev.azure.com/https%3A%2F%2Fazuredevops.mycompany.local%2FDefaultCollection/ProjectName/_git/repo-name","migrationLogUrl":"","migrationSource":{"name":"Azure DevOps Source"},"state":"FAILED","warningsCount":0,"failureReason":"PreflightCheckJob failed due to network availability issues. Please try again in 30 minutes. If this happens repeatedly, please contact GitHub Support.","repositoryName":"repo-name"}}}
obviously what happens is that the ado2gh extension appends the https://dev.azure.com to my company on-prem ADO server and I don't need that. How to overcome this ?
We don't currently support Azure DevOps Server. The suggested migration path is to first migrate to ADO Cloud, then use this tool to migrate to GitHub. Both of those steps could be done at the same time if desired to make it "feel" like a single migration to your users.
thank you dylan ! unfortunately moving to azure cloud is not possible due to legal constrains. Eventually I will migrate repositories and especially their PRs using API calls.