I am planning to move my current TFS (Team Foundation Server 2013) environment from one domain to another domain, currently I am reading Microsoft articles on moving but i am planning to clone the existing VM’s and do rename and then move to new domain. I have blow servers which will migrate, is there any sequence do I need to follow or if there is any better option, I need to follow kindly suggest thanks.
SQL Server: SQL01
TFS application: TFS01
TFS Build & TFS Release Management: BLD01
Since you just want to migrate the TFS Sever from Domain A to Domain B, copying existing vm may not be the best choice.
You can directly migrate the domain without creating a new VM.
Fist of all, there should has the trust-relationship between your two domains. Then follow below steps:
1.Create all the new accounts on the new domain and DON’T ADD THEM TO TFS
2.Use TFSConfig identities command to change the service IDs (SIDs) for the service account to the new domain.
TFSConfig identities /change /fromdomain:OldComputerorDomainName /todomain:NewDomainName /account:OldTFSServiceAccount /toaccount:NewTFSServiceAccount
Here is a doc about the detailed steps to Move from one environment to another for Azure DevOps on-premises and a tutorial.
It also points out some precautions, you can check it:
Here is a doc about Trusts and Forests Considerations for Team Foundation Server, it could help you understand the trust-relationship between your two domains.