[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:
- Active Directory contains many domain controllers.
- You have insufficient permissions to query all domain controllers.
- 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: