Preserve legacy element IDs is one of the step in code upgrade checklist in place
this workout is only in the case mention below.
When you are ready to perform the Preserve
legacy element IDs task,
stop the target system AOS
- Create or identify a temporary file share on the SQL server. And assign rights to “Network service” or the user with AOS service is running
- Copy the file SysUpgradeExportIdMap.csv to the file share on the SQL server on the above created folder
- Retrieve the file DatabaseUpgrade\XPO\MicrosoftElementsRenamed62.csv from the installation media, and copy it to the same location on the SQL server
- Open a Microsoft Dynamics AX 2012 Management Shell window, and execute the following command
- While running the below command it will generate IdDataFormat.xml and RenameDataFormat.xml on the path c:\. Copy both file and paste to SQL server on the same path “c:\”
- Run the command on “c:\” not to c:\windows\system32
axutil idkeep
/idfile:\\TEST-DB\ElementIdLegacyid\SysUpgradeExportIdMap.csv
/renamefile:\\TEST-DB\ElementIdLegacyid\MicrosoftElementsRenamed62.csv /verbose