When migrating objects by Strategy Object Manager, users get the error below and the migration is terminated:
Object with ID '' and type 34 (User) is not found in metadata. It may have been deleted.
The metadata is in an inconsistent state. It may be caused by a profile link pointing to a missing user ID which no longer exists in the metadata. When removing a user account, the profile link should be removed accordingly. In some very rare cases, the cleanup is incomplete and leaves the inconsistent profile links.
A possible workaround is to search in any existing metadata and look for the missing object ID specified in the error by the SQL below:
Sql
SELECT * FROM DSSMDUSRACCT WHERE OBJECT_ID = '<OBJECT_ID>'
If it exists in a different environment, the administrator can migrate the missing user back to the inconsistent metadata via Object Manager tool. Then the profile link will no longer use the invalid user object ID. The administrator can then remove the user again to perform a clean removal of the user account.