N/APosted on - 01/29/2012
I would like to import some users and add it to the list of my directory when I am prompted to an error message saying: “Error while trying to access Active Directory.”
I tried to give a code (Forms/SysUserADUserImportWizard/searchADUser) and I saw that the Active Directory searcher broke into this line:searchResultCollection = directorySearcher.FindAll()”. I got this error after using the Microsoft Dynamics AX 2009 Active Directory Import Wizard. Do you have any idea what might be the cause of getting the error?
Any help from you guys is greatly appreciated.
Error while trying to access Active Directory
This might cause from the network domain. Few settings are required for non-domain admin's for them to view all the users in the domain within the Active Directory Import Wizard in Microsoft Dynamics AX.
For you to solve this issue, you must add the domain admin to the list of AX users, add the newly created AX user account to the Administrator group in AX admin permissions.
Last solution is to change the login method of my service to use the local service instead of the Network Service.
You can see it in the screenshot below.
This is now the screenshot for working final outcome.