Migrate from TFS 2010 to Azure DevOps online - tfs

I want to migrate form TFS 2010 to Azure DevOps online and was following Azure DevOps Migration Guide.pdf and running into issues when trying to validate my project collection.
On the other hand I had to see other MSFT documentation and it tells a different path:
Where as Azure DevOps Migration Guide says:
What is the best way to migrate from TFS 2010 to Azure DevOps online ?

Look closely. One document is more recent than the other. The first screenshot shows Azure DevOps Server 2020 as the end point. The other shows TFS 2018.
You need to upgrade to the most recent version of Azure DevOps Server in order to migrate to Azure DevOps cloud. The "best way" is always to follow the most recent official documentation.
If you're looking for help with performing the migration, you need to ask a new question that asks a specific question about the issue you're encountering.

We recommend that you use data migration tool to migrate data from Azure DevOps Server to Azure DevOps Services.
The data migration tool for Azure DevOps supports the two latest releases of Azure DevOps Server at a given time. Releases include updates and major releases. Currently the following versions of Azure DevOps Server are supported for import:
Azure DevOps Server 2019.1.1
Azure DevOps Server 2019 Update 1
Please update your TFS version and then Migrate your server to Azure DevOps

Related

TFS 2015 Upgrade to Azure DevOps Question: Is there an upgrade wizard?

I have a question in regards to upgrading TFS to Azure DevOps 2020. I've not done anything like this before so I've started reading BOL, starting here, https://learn.microsoft.com/en-us/azure/devops/server/upgrade/get-started?view=azure-devops-2020, but I still have some questions.
From Setup:
On-premises TFS 2015 - SQL Server 2016
Going to Setup:
On-premises Azure DevOps 2020 (new hardware) - SQL Server 2019
Plan:
Install SQL 2019 on new server
Restore TFS DB backups on new SQL 2019 server
Install Azure Dev Ops 2020 software on the new server
Questions:
Is there a TFS Upgrade wizard?
If so, at this point in the plan, should I run the TFS upgrade wizard?
If so, where do I run it from, the old server (as TFS isn't installed on the new server)?
Thanks for your help.
Yes. TFS Upgrade wizard is a general tool.
After restoring databases and installing new azure devops server.
On the new application server.
Check inplace upgrade to 2020.
Agree with Shamrai Aleksander.
You could refer to the blog to upgrade the Azure DevOps Server. Then we could use data migration tool to migrate data from Azure DevOps Server to Azure DevOps Services.
The data migration tool for Azure DevOps supports the two latest releases of Azure DevOps Server at a given time. Releases include updates and major releases. Currently the following versions of Azure DevOps Server are supported for import:
Azure DevOps Server 2020
Azure DevOps Server 2019.1.1
In addition, check this doc, It also show the detail steps to run TFS Upgrade Wizard.

TFS 2010 Upgrade Path to Azure DevOps Services - Circumvent or Not Circumvent?

I am preparing an upgrade of an on-premises TFS 2010 instance to the cloud-based Azure DevOps Services, using Microsoft's Data Migration Tool for Azure DevOps Migration to facilitate the collection database move to Azure DevOps Services. There are however a few key points or caveats to highlight relating to this proposed upgrade and these are listed below.
It will be an "In Place Upgrade", meaning we intend to use the existing "on-premises" hardware throughout the process.
Our TFS 2010 instance is hosted on a Windows Server 2008 R2 Enterprise server.
The Data Tier is implemented on a Microsoft SQL Server 2008 R2 instance.
Now, the Data Migration Guide recommends that to migrate to Azure DevOps Services, we first need to complete an upgrade from TFS 2010 to TFS 2013, as per the attached Upgrade path map. TFS 2013 however is not compatible with SQL Server 2008 R2 and requires SQL Server 2012 (Express, Standard, Enterprise).
On the other hand, TFS 2012 supports SQL Server 2008 R2 and can also then be upgraded directly to Azure DevOps Services, according to the Data Migration Tool's Recommended Upgrade Path. This, I believe will avoid the need to upgrade our current instance of SQL Server from SQL 2008 R2 to SQL Server 2012 (to upgrade to TFS 2013), in order to finally achieve our objective of upgrading to Azure DevOps Services.
Can anyone foresee any issues with this approach, or should we just bite the bullet and complete that SQL 2008 to SQL 2012 upgrade as suggested in the guide?
Please check this documentation:
The data migration tool for Azure DevOps supports the two latest
releases of Azure DevOps Server at a given time. Releases include
updates and major releases. Currently the following versions of Azure
DevOps Server are supported for import:
Azure DevOps Server 2019.1.1
Azure DevOps Server 2019 Update 1
As #Daniel Mann mentioned above, the picture you posted showed the upgrade path from old versions TFS to Azure DevOps Server 2019 (Azure DevOps Server was previously named TFS), not Azure DevOps Service.
In summary, both hardware and software you use need to be upgrade. To migrate to Azure DevOps Service, you have to upgrade to TFS 2012.3/TFS 2013.5, and then upgrade to Azure DevOps Server 2019.1 (TFS 2019.1), after that, migrate to Azure DevOps Service.
You need to use supported hardware/software versions, end of story.
The premise under which you're operating is incorrect: The upgrade path is from TFS 2012 to Azure DevOps Server 2019, which is the last on-prem upgrade step before you can use the migration tool to migrate it. You can't use the migration tool on TFS 2012; you need to be using Azure DevOps Server 2019.

How to perform code migration from TFS 2018 to Azure DevOps?

We are trying to migrate code from TFS2018 to Azure DevOps. I am new to code migration from TFS to VSTS. I would like to know is there any tool for code migration?
I saw TFS-GIT utility. I am really not sure how much efficient this tool.
GIT-TFS list remote repostiory
You may do it through OpsHub tool: OpsHub Visual Studio Online Migration Utility
My recommendation would be to either upgrade your on-premise server to Azure DevOps Server 2019 or the latest Team Foundation Server 2018 update pack that's supported by the migration tool.
You can perform this upgrade on a clone instance of your existing server, so it won't break or change your existing machine or database in case anything goes wrong.
We regularly perform these types of migrations and we generally use a temporary Azure Virtual Machine. We install SQL Server on it, we restore the backup of the on-premise server, we install the desired TFS application tier version on it. If the Azure machine is joined to your domain, then that's all you need to start the import into Azure DevOps. If the machine isn't domain joined, be sure to turn off the AD Sync job as part of the migration. My colleague Jasper has a couple of scripts to fix that for you.
Alternate options. In my opinion there aren't any. At least not good ones. There is a whole set of tools that an migrate parts of TFS to Azure DevOps, tools like OpsHub, git-tfs, git-tf, Migration Tools for Azure DevOps. None offer a complete migration, some do work items, some sources, some builds, but none of these offer a complete migration.
All of these also have the issue that they reset metadata such as Commit/Approval dates, work item IDs. Which will impact retention jobs, history and other things you may care about.

Unable to install Test Manager extension on Azure DevOps Server 2019

Recently we have upgraded our TFS server to the latest 2019 version.
As the Admin, I was trying to install the downloaded Test Manager extension just like we did in TFS2017 and TFS2018.
However, I was unable to install it even with full access and TFS test plan subscription.
This extension does not support the version of the Server you are
currently using. See Works With for supported Server versions.
What should I do, am I missing something? Why it not work with TFS2019? Appreciate your help.
This is the expected behavior when you try to install the extension in Azure DevOps Server 2019. You do not need to install extra Test Manger for Azure DevOps Server 2019.
The official link is also clearly: This extension does not support the version of the Server you are currently using. See Works With for supported Server versions.
It only work Works with
Team Foundation Server 2017
Team Foundation Server 2018
Note:
Manual testers do not need this extension and can execute tests as a
Basic user in an Azure DevOps organization/collection. Read more on
this here.
This extension is available out-of-the-box in Azure DevOps Services and Azure DevOps Server (2019 onwards) and hence doesn't need to be acquired for them.
We strongly recommend you to use Azure Test Plans or the Test hub in Azure DevOps Service/Server (a fully featured Test management solution) over Microsoft Test Manager for all your test management requirements. There will be no new versions of Microsoft Test Manager.Microsoft Test Manager 2017 (which shipped with Microsoft Visual Studio 2017) is the last version.
More details please take a look at our official tutorial here.
Besides, to use Azure Test Plans in Azure DevOps service you need some License requirements
Azure Test Plans uses an access level called Basic + Test Plans, which is available from Azure DevOps.
For the Manual testing permissions and access suggest refer this link: https://learn.microsoft.com/en-us/azure/devops/test/manual-test-permissions?view=azure-devops#license-requirements
Hope this helps.
As mentiond in the Extension page:
This extension is available out-of-the-box in Azure DevOps Services and Azure DevOps Server (2019 onwards) and hence doesn't need to be acquired for them.
So you don't to install it, it's exist :) just go to the "Test Pans" tab in the left menu (maybe you need give permissions in the settings).

Move organization from VSTS to TFS

I have an organization (all my projects - Only work items, no code) on Team Services (free edition). I have now started collaborating with another team who has a licensed TFS. I need to move all my projects to TFS.
Is that possible? Please help.
It's possible with Azure DevOps Migration Tools utility.
Azure DevOps Migration Tools allow you to bulk edit data in Microsoft Team Foundation Server (TFS) and Azure DevOps. It has many names depending on what you are trying to achieve. It can be used to:
Migrate data from TFS to TFS
Migrate data from TFS to Azure DevOps Services
Migrate data from Azure DevOps Services to TFS
Bulk update in TFS or Azure DevOps Services
You can also take a look at this tool.
There is also a paid service that can do it.

Resources