Frequently Asked Questions
Frequently Asked Questions: M-Files
How to increase the maximum number of users when importing users from Active Directory
Posted by Sakari Heinonen (M-Files) on 11 May 2018 05:17 PM

The following error might be triggered when the user trying to import more than 1000 users from active directory to M-Files.

Error:

CoSnapInComponent.cpp, 815, Failure in retrieving the members of the group "XXXXX\Mfiles.XXXXX.ReadAccess [XXXXX\Mfiles.XXXXX.ReadAccess]." Group memberships have not been updated. (0x800408B9)
CoSnapIn.cpp, 918, Failure in retrieving the members of the group "XXXXX\Mfiles.XXXXX.ReadAccess [XXXXX\Mfiles.XXXXX.ReadAccess]." Group memberships have not been updated. (0x800408B9)
Item_UserGroup.cpp, 263, Failure in retrieving the members of the group "XXXXX\Mfiles.XXXXX.ReadAccess [XXXXX\Mfiles.XXXXX.ReadAccess]." Group memberships have not been updated. (0x800408B9)
Item_UserGroup.cpp, 519, Failure in retrieving the members of the group "XXXXX\Mfiles.XXXXX.ReadAccess [XXXXX\Mfiles.XXXXX.ReadAccess]." Group memberships have not been updated. (0x800408B9)
RPCMethodCallWithRetry.h, 176, Failure in retrieving the members of the group "XXXXX\Mfiles.XXXXX.ReadAccess [XXXXX\Mfiles.XXXXX.ReadAccess]." Group memberships have not been updated. (0x800408B9)RPCMethodCallWithRetry.h, 176, Failure in retrieving the members of the group "XXXXX\Mfiles.XXXXX.ReadAccess [XXXXX\Mfiles.XXXXX.ReadAccess]." Group memberships have not been updated. (0x800408B9)RPCUserGroupsAdmin.cpp, 538, Failure in retrieving the members of the group "XXXXX\Mfiles.XXXXX.ReadAccess [XXXXX\Mfiles.XXXXX.ReadAccess]." Group memberships have not been updated. (0x800408B9)RPCUserGroupsAdmin.cpp, 216, Failure in retrieving the members of the group "XXXXX\Mfiles.XXXXX.ReadAccess [XXXXX\Mfiles.XXXXX.ReadAccess]." Group memberships have not been updated. (0x800408B9)
MCallInLoop.h, 319, Failure in retrieving the members of the group "XXXXX\Mfiles.XXXXX.ReadAccess [XXXXX\Mfiles.XXXXX.ReadAccess]." Group memberships have not been updated. (0x800408B9)
RPCUserGroupsHelper.cpp, 407, Failure in retrieving the members of the group "XXXXX\Mfiles.XXXXX.ReadAccess [XXXXX\Mfiles.XXXXX.ReadAccess]." Group memberships have not been updated. (0x800408B9)RPCUserGroupsHelper.cpp, 2011, Failure in retrieving the members of the group "XXXXX\Mfiles.XXXXX.ReadAccess [XXXXX\Mfiles.XXXXX.ReadAccess]." Group memberships have not been updated. (0x800408B9)RPCUserGroupsHelper.cpp, 2163, Failure in retrieving the members of the group "XXXXX\Mfiles.XXXXX.ReadAccess [XXXXX\Mfiles.XXXXX.ReadAccess]." Group memberships have not been updated. (0x800408B9)RPCUserGroupsHelper.cpp, 2163, Reading the members of the group "CN=Domain Users,CN=Users,DC=XXXX,DC=com,DC=sa" failed. (0x8004092D)
RPCUserGroupsHelper.cpp, 2405, Reading the members of the group "CN=Domain Users,CN=Users,DC=XXXX,DC=com,DC=sa" failed. (0x8004092D)
LDAPHelper.cpp, 1342, Reading the members of the group "CN=Domain Users,CN=Users,DC=XXXX,DC=com,DC=sa" failed. (0x8004092D)
Group.cpp, 125, Reading the members of the group "CN=Domain Users,CN=Users,DC=XXXX,DC=com,DC=sa" failed. (0x8004092D)
Group.cpp, 125, The user group contains more than 1000 members. (0x8004012C)
Group.cpp, 310, The user group contains more than 1000 members. (0x8004012C)
Group.cpp, 238, The user group contains more than 1000 members. (0x8004012C)
Group.cpp, 238, You can use the registry setting "MaxUserCountFromGroup" to control the limit. (0x8004012D)


This server registry setting will help to increase the number of users to be imported, modify the key data to your needs. Change <version> to match your current M-Files server version.

Key path   HKLM\Software\Motive\M-Files\<version>\Server\MFServer
Key name  MaxUserCountFromGroup
Key type   REG_DWORD (DWORD 32-bit Value)
Key data  (Default 1000)

Please note that adjusting the amount might cause the import to take a long time. You might need to adjust the retrieval timeout time to make the large import to succeed.

Key path   HKLM\Software\Motive\M-Files\<version>\Server\MFServer
Key name  ADSITimeoutInSeconds
Key type   REG_DWORD (DWORD 32-bit Value)
Key data  (Default 60)

After applying any of these registry keys, a restart of the M-Files server is required.


Last edited: May 11th, 2018
M-Files Customer Support Team, http://support.m-files.com

 

(1 vote(s))
This article was helpful
This article was not helpful

Help Desk Software by Kayako case