Overview
If you are seeing errors in login account synchronization indicating a user being synced already exists, it may be the result of a simple typo. The error stack might look similar to this:Error in synchronizing login accounts: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxx
Already exists. (domain.com\user.name)
CoVaultLoginAccountOperations.cpp, 423, Already exists. (domain.com\user.name) (0x80040031)
LatestRPC.generated.cpp, 47875, Already exists. (domain.com\user.name) (0x80040031)
RPCVaultLoginsAdmin.cpp, 1775, Already exists. (domain.com\user.name) (0x80040031)
RPCVaultLoginsAdmin.cpp, 116, Already exists. (domain.com\user.name) (0x80040031)
RPCLoginsHelper.cpp, 230, Already exists. (domain.com\user.name) (0x80040031)
UserAccountVaultDb.cpp, 217, Already exists. (domain.com\user.name) (0x80040031)
(M-Files 22.2.11149.3)
Solution
To ensure it's not a typographical error, examine your SMP system. You may well find that there are two entries such as:domain.com\ user.name
domain.com\user.name
Note that while the entries are identical as far as the user.name value, the first entry had a space after the \ before the user.name. Remove this bad entry from SMP and the sync will run normally.
