Upgrade fails with error "An item with the same key has already been added" during ObjectIdSync.
This is due to the removal of a unique index on some select IdTables which store id's for objects in the AX system. The removal of the index allows for duplicate id's to exist, which when being read during upgrade, causes the error in ObjectIdSync.