'Change TFVC workspace url after migration to Azure DevOps Services

After we migrate our on premise Azure DevOps Server 2020 to the Azure DevOps Services (in the cloud) is there a way to change the server URL of the existing tfvc workspaces to point to the new url in the cloud? Or is the only option to create new workspaces?



Solution 1:[1]

If the migration was done with the project collection import, it's enough to add the server connection to the Azure DevOps instance in visual studio.

Visual studio should recognize the server identity and the project collection identity are the same as your old server and will automatically reconnect your existing workspaces.

Afterwards you can delete the old server connection.


In case the migration was done with a history replay, tip migration or when the migration to the cloud changed the server identifier (a non-production upgrade was performed as part of the migration), you'll need to manually remap the workspace.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1