Overview
With default settings, AD group import/sync stops if it fails to convert the name of any group member from DN format to NT format. When this occurs you should see an error similar to the below:The handle is invalid. (CN=User39455,OU=Sales,DC=mf2020,DC=local) The handle is invalid. IADsNameTranslator.h, 180, The handle is invalid. (CN=User39455,OU=Sales,DC=mf2020,DC=local) (0x80070006) IADsNameTranslator.cpp, 70, The handle is invalid. (0x80070006)
Solution
With this setting, we can skip the translation and carry out the import regardless of the problem with the usernames.The below key registry needs to be set on the M-Files server host.
Value Key: HKEY_LOCAL_MACHINE\SOFTWARE\Motive\M-Files\<Version>\Server\MFServer Value Name: SkipErrorInTranslation Value Type: REG_DWORD (DWORD 32-bit Value) Value Data: 0 = False (Default value), 1 = True
