Hi Dynamicweb,
We have an issue when importing user addresses for non-existing users, as you have no logic for deleting excess entries as for secondaryrelations:
updateUserIdSql.Append("delete from AccessUserSecondaryRelationTempTableForBulkImport where AccessUserSecondaryRelationUserID not in (select CONVERT(varchar(max), AccessUserID)from AccessUser);");
Can you do the same for AccessUserAddresses? Then we can prevent errors like this: https://www.screencast.com/t/kpE4BDFN6d1
Best regards, Anders