locked
Can't see any AD users when using the Add Multiple Users dialog RRS feed

  • Question

  • For a customer of ours we've set up a new environment with several servers (including an AD server, SQL server and Dynamics CRM 2015 Update 0.1 server). All setups have been completed successfully and CRM is up and running. At least, so it seems. We've tested CRM and 99.9% of all functionality is working, except for adding new users (which is quite an important bit).
    When we go to Settings -> Security -> Users and open the Add Multiple Users dialog we're able to select security roles, set the license type and select a domain/OU from AD. But on the user selection screen (where it looks for users in AD) nothing comes up.
    We've tried the (in our eyes) obvious by checking privileges of the CRM Application Service Account, check whether there are users to be added to CRM and that all servers are up and running.
    After enabling tracing on the CRM server we were able to see an error that seems to be related to this issue, but have no idea how to fix it:

    [2015-07-22 14:41:48.620] Process: w3wp |Organization:00000000-0000-0000-0000-000000000000 |Thread:   60 |Category: Platform |User: 00000000-0000-0000-0000-000000000000 |Level: Error |ReqId: 67859984-1dbb-4a56-81e8-f4927279e7e6 | ExceptionConverter.ConvertMessageAndErrorCode  ilOffset = 0x23B
    >System.Runtime.InteropServices.COMException: Microsoft Dynamics CRM has experienced an error. Reference number for administrators or support: #9B9FCD04: System.Runtime.InteropServices.COMException (0x800401E4): Creating an instance of the COM component with CLSID {080D0D78-F421-11D0-A36E-00C04FB950DC} from the IClassFactory failed due to the following error: 800401e4 Invalid syntax (Exception from HRESULT: 0x800401E4 (MK_E_SYNTAX)).
    >   at System.DirectoryServices.ActiveDirectory.DirectoryEntryManager..ctor(DirectoryContext context)
    >   at System.DirectoryServices.ActiveDirectory.Domain.GetDomain(DirectoryContext context)
    >   at System.DirectoryServices.ActiveDirectory.Domain.GetComputerDomain()
    >   at Microsoft.Crm.Application.Utility.ActiveDirectoryUtility.get_RootDomain()
    >   at Microsoft.Crm.Application.Pages.Business.Users.AddUsers.DomainsAndGroupsPage.ConfigurePage()
    >   at Microsoft.Crm.Application.Controls.AppUIPage.OnPreRender(EventArgs e)
    >   at System.Web.UI.Control.PreRenderRecursiveInternal()
    >   at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

    Has anyone seen this problem or error before? Or does anyone known what else we should configure to get this working? Any help is welcome!

    (Also posted this on the Dynamics CRM Community forums, but without an answer)


    Friday, July 24, 2015 7:03 AM

Answers

  • Thanks for your reply, but we've just been able to solve the problem. It was caused by users only having a fullname, and no split first and last name. It seems that CRM requires this from AD users.
    • Marked as answer by Oswin Kroon Monday, July 27, 2015 6:23 AM
    Monday, July 27, 2015 6:23 AM

All replies

  • install logging tools IIS on CRM server and also adfs server if so and post this logs also.

    can you provide more detials of your configuration. ifd? local? tmg/ISA?


    gruss Daniel Ovadia MBSS - Microsoft Dynamics CRM MCNPS

    Friday, July 24, 2015 9:20 AM
  • Thanks for your reply, but we've just been able to solve the problem. It was caused by users only having a fullname, and no split first and last name. It seems that CRM requires this from AD users.
    • Marked as answer by Oswin Kroon Monday, July 27, 2015 6:23 AM
    Monday, July 27, 2015 6:23 AM