[CRM] Unable to obtain DNS hostname of Active Directory domain controller

In CRM 4 and CRM 2011, are you trying to create an organisation, import an organisation or register some plugins and you are getting the following error:

[…] Unable to obtain DNS hostname of Active Directory domain controller […]

Weird, isn’t it?

In my case I was trying to register some plugins and I got that messages from the CRM traces.

Finally, I found the problem and the solution:

PROBLEM:

  • Active Directory contains many domain controllers.
  • You have insufficient permissions to query all domain controllers.

SOLUTION:

  • Install last rollup (I got 17 and it works fine)
  • Add the entry PreferredDc in HKLM\Software\Microsoft\MSCRM with the closest domain controller (run this command >echo %logonserver% in your CRM server)

Original articleΒ from Microsoft Support:

http://support.microsoft.com/default.aspx?scid=kb;EN-US;954811

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s