Migrating from TFS On-Prem to TFS Online: Mapping Users

Short post about the XML required to map TFS On-prem users to TFS Online users.

A quick note more for myself to remember. When migrating from TFS on-prem to TFS online, you’ll need to map the on-prem users to the Microsoft Accounts (Windows Live IDs) in TFS Online. Here is the snippet you need, which is to be placed as a child of the <SessionGroup> node.

4 comments on “Migrating from TFS On-Prem to TFS Online: Mapping Users
  1. I just tried this with an existing Windows Live ID assigned to a project. It just replaced their account display name in the Comment field and used my user ID for the User field. Is there any way to map the User field for users that submitted the changesets? Example:


  2. Oops .. XML tags stripped out:
    <UserIdentityMappings EnableValidation=”false”>
    <UserIdentityLookupAddins />
    <DisplayNameMappings DirectionOfMapping=”LeftToRight”>
    <DisplayNameMapping Left=”DOMAIN\user.name” Right=”Windows Live ID\user.name@domain.com” MappingRule=”SimpleReplacement” />

Comments are closed.