This task must be performed on the Domain Controller – Fixed

tickFor anyone who has deployed Windows Server Essentials 2012 R2, or more likely the 2012 R2 Essentials Experience Role, you may well have hit the issue where you were unable to run any of the integration wizards with online services such as Office 365 or Windows Azure.

When trying to run one of those Wizards from the Essentials Dashboard, you would have been given the helpful response “This task must be performed on the domain controller"

Domain Controller

Well, excuse me Mr Essentials, but, this is the Domain Controller, thank you very much.

Unfortunately there was a bug in the RTM Builds of the Essentials Experience that meant if _any_ other Domain Controller was found in the network, the Wizard would crash with this Error, or simply crash with no visible error.

Very little was written to any of the logs and a lot of people were left wondering what exactly was going wrong. Indeed this even affected deployments where the Essentials Server was a member server, and the Domain Controller was a separate server.

Log

“Unable to obtain DNS hostname of Active Directory domain controller with ntdsa object name "CN=NTDS Settings,CN=WIN-B81EKCB7R9G,CN=Servers,CN=Default-First-Site-Name,CN=Sites,CN=Configuration,DC=EXI,DC=local".
[3356] 140813.120652.8318: MailServiceUtils: System.DirectoryServices.ActiveDirectory.ActiveDirectoryOperationException: Unable to obtain DNS hostname of Active Directory domain controller with ntdsa object name "CN=NTDS Settings,CN=WIN-B81EKCB7R9G,CN=Servers,CN=Default-First-Site-Name,CN=Sites,CN=Configuration,DC=EXI,DC=local".

Using some other techniques to try and enable these integration features did wield some more information on what the problem was, but not how to fix it.

Domain Controller2

Good news, however! The fix has finally been pushed out in the latest round of Updates. KB 2974308 is included in the Update Rollup KB2975719.

A Reboot of the Essentials Server is required, but that is all.

About Robert Pearman
Robert Pearman is a UK based Small Business Server enthusiast. He has been working within the SMB IT Industry for what feels like forever. Robert likes Piña colada and taking walks in the rain, on occasion he also enjoys writing about Small Business Technology like Windows Server Essentials or more recently writing PowerShell Scripts. If you're in trouble, and you can find him, maybe you can ask him a question.

2 Responses to This task must be performed on the Domain Controller – Fixed

  1. oh nice, that follows up nicely on my post from earlier today on migrating from SBS 2011 to Windows Server 2012 R2 Essentials (yes, shameless plug :)): https://mijnit-public.sharepoint.com/Blog/Bericht/3/Migrating-from-SBS-2011-Standard-to-Windows-Server-2012-R2-Essentials – i’ll update it asap.

  2. Zak says:

    I encountered this issue when performing a migration from SBS 2003. The workaround was to wait until the old SBS server had been demoted before running the Essentials wizards. Good to hear there’s a fix out.

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 )

Twitter picture

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

Facebook photo

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

Google+ photo

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

Connecting to %s

%d bloggers like this: