Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17


Exchange 2016 Hub Transport Role failing to install on Server 2012R2

Posted on 2016-10-02
Medium Priority
Last Modified: 2016-10-02
I cant get Hub Transport to be installed.
Getting this error:

The following error was generated when "$error.Clear();

" was run: "System.ArgumentNullException: Value cannot be null.
Parameter name: Cannot get child of ADObjectId:      this is a GUID based ADObjectId.
   at Microsoft.Exchange.Data.Directory.ADObjectId.GetChildId(String prefix, String unescapedCommonName)
   at Microsoft.Exchange.Data.Directory.ADDataSession.IsConfigScoped(ADScope scope)
   at Microsoft.Exchange.Data.Directory.ADDataSession.GetConnection(String preferredServer, Boolean isWriteOperation, String optionalBaseDN, ADObjectId& rootId, ADScope scope)
   at Microsoft.Exchange.Data.Directory.ADDataSession.GetReadConnection(String preferredServer, String optionalBaseDN, ADObjectId& rootId, ADRawEntry scopeDeteriminingObject)
   at Microsoft.Exchange.Data.Directory.ADDataSession.InternalFind[TResult](ADObjectId rootId, String optionalBaseDN, ADObjectId readId, QueryScope scope, QueryFilter filter, SortBy sortBy, Int32 maxResults, IEnumerable`1 properties, Boolean includeDeletedObjects)
   at Microsoft.Exchange.Data.Directory.SystemConfiguration.ADTopologyConfigurationSession.<GetAdministrativeGroup>b__66()
   at Microsoft.Exchange.Data.Directory.Diagnostics.ADScenarioLog.InvokeWithAPILog[T](DateTime whenUTC, String name, Guid activityId, String implementation, String caller, Func`1 action, Func`1 getDcFunc)
   at Microsoft.Exchange.Data.Directory.SystemConfiguration.ADTopologyConfigurationSession.InvokeWithAPILogging[T](Func`1 action, String memberName)
   at Microsoft.Exchange.Data.Directory.SystemConfiguration.ADTopologyConfigurationSession.<GetAdministrativeGroupId>b__67()
   at Microsoft.Exchange.Data.Directory.Diagnostics.ADScenarioLog.InvokeWithAPILog[T](DateTime whenUTC, String name, Guid activityId, String implementation, String caller, Func`1 action, Func`1 getDcFunc)
   at Microsoft.Exchange.Data.Directory.SystemConfiguration.ADTopologyConfigurationSession.InvokeWithAPILogging[T](Func`1 action, String memberName)
   at Microsoft.Exchange.Management.SystemConfigurationTasks.NewExchangeServer.PrepareDataObject()
   at Microsoft.Exchange.Configuration.Tasks.SetTaskBase`1.InternalValidate()
   at Microsoft.Exchange.Configuration.Tasks.Task.<ProcessRecord>b__b()
   at Microsoft.Exchange.Configuration.Tasks.Task.InvokeRetryableFunc(String funcName, Action func, Boolean terminatePipelineIfFailed)
   at Microsoft.Exchange.Configuration.Tasks.Task.ProcessTaskStage(TaskStage taskStage, Action initFunc, Action mainFunc, Action completeFunc)
   at Microsoft.Exchange.Configuration.Tasks.Task.ProcessRecord()
   at System.Management.Automation.CommandProcessor.ProcessRecord()".
Question by:Eugene Dunayev
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 6
  • 4
LVL 16

Expert Comment

by:Todd Nelson
ID: 41825747
Does the Exchange setup log provide any clue to why the install failed?

Have you tried to install from the command prompt?

Author Comment

by:Eugene Dunayev
ID: 41825816
Attached Exchange Logs. These files contain only the last few entries. Let me know if you need more.

I have tried to install it from command prompt too, I tried:
     Setup.exe /mode:install /roles:HT /IAcceptExchangeServerLicenseTerms

Thank you.
LVL 16

Expert Comment

by:Todd Nelson
ID: 41825825
You are aware that there are only 2 roles with Exchange 2016, right?  Mailbox or Edge Transport.

Could that be why it's failing ... an incorrect switch?

Is this a new Exchange organization or add to an existing one?

Are you installing the Exchange server in a child domain or the forest root?
Office 365 Training for IT Pros

Learn how to provision tenants, synchronize on-premise Active Directory, implement Single Sign-On, customize Office deployment, and protect your organization with eDiscovery and DLP policies.  Only from Platform Scholar.


Author Comment

by:Eugene Dunayev
ID: 41825829
Maybe, I was using the GUI setup for the most part, thats the one i would wish to figure out.

Let me try the command line with correct switch this time. Good catch by the way.
     Setup.exe /mode:Install /r:EdgeTransport /IAcceptExchangeServerLicenseTerms

I currently have exchange 2010 that Im running in parallel on another server.
I'm trying to migrate to 2016 with both being in parallel for few weeks. (Slow migration)

Author Comment

by:Eugene Dunayev
ID: 41825842
I guess I learn something new everyday....

The Edge Transport server role cannot be installed on the same computer with other server roles.
Please select at least one server role to install. Make sure that the specified roles aren't already installed.

The Exchange Server setup operation didn't complete. More details can be found in ExchangeSetup.log located in the <SystemDrive>:\ExchangeSetupLogs folder.
LVL 16

Expert Comment

by:Todd Nelson
ID: 41825845
That is true.  Edge has never been able to be installed with the other roles--and must be installed in a DMZ.

It's an easy mistake to make via the command line but I do find it odd that the GUI setup let you choose the Edge Transport role if Mailbox role was already installed.

Author Comment

by:Eugene Dunayev
ID: 41825849
On Exchange 2010, they work well together. I just tried to duplicate the same setup just on the newer server.

Author Comment

by:Eugene Dunayev
ID: 41825853
I guess its the Hub Transport, not Edge Transport. Not sure if they are exactly the same.

Name                 : MAIL3
ServerRole           : Mailbox, ClientAccess, HubTransport
Edition              : Enterprise
AdminDisplayVersion  : Version 14.3 (Build 123.4)
IsClientAccessServer : True

this is my old exchange server. 2010.
LVL 16

Accepted Solution

Todd Nelson earned 2000 total points
ID: 41825855
Edge isn't supposed to be able to be installed on a server with any other roles ... not supported from Exchange 2007 to now.

You wouldn't be confusing the Hub Transport role with the Edge Transport role?

With Exchange 2016 there is only one role that is installed within the internal network (domain-joined) and that's the Mailbox role.  The other is the Edge Transpost role is supported on a stand-alone server in the perimeter network (DMZ).


Author Comment

by:Eugene Dunayev
ID: 41825881
You are absolutely right.

Thank you for catching that mistake.

Featured Post

Free learning courses: Active Directory Deep Dive

Get a firm grasp on your IT environment when you learn Active Directory best practices with Veeam! Watch all, or choose any amount, of this three-part webinar series to improve your skills. From the basics to virtualization and backup, we got you covered.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Check out this step-by-step guide for using the newly updated Experts Exchange mobile app—released on May 30.
I don't pretend to be an expert at this, but I have found a few things that are useful. I hope that sharing them here will help others, so they will not have to face some rather hard choices. Since I felt this to be a topic of enough importance and…
To show how to generate a certificate request in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.:  First we need to log into the Exchange Admin Center. Navigate to the Servers >> Certificates…
The video tutorial explains the basics of the Exchange server Database Availability groups. The components of this video include: 1. Automatic Failover 2. Failover Clustering 3. Active Manager

688 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question