Beware of Defaults

Default values aren’t always correct!  A custom Receive Connector was installed on an Exchange 2013 Server and Hub Transport, and the default value under Role, was used.  The connector worked, but caused a conflict with the default Receive Connector which wasn’t noticed until Cumulative Update 8 was applied.  About half way through the update the process ended with an error.

The following error was generated when “$error.Clear();
$connectors = Get-ReceiveConnector -Server $RoleFqdnOrName;
foreach($connector in $connectors) { if($connector.MaxLocalHopCount -gt 1) { Set-ReceiveConnector -Identity $connector.Identity -MaxLocalHopCount 5 } };
” was run: “Microsoft.Exchange.Management.SystemConfigurationTasks.ReceiveConnectorRoleConflictException: 
The values that you specified for the Bindings and RemoteIPRanges parameters conflict with the settings on Receive connector “SERVERNAME\connectorName”. Receive connectors assigned to different Transport roles on a single server must listen on unique local IP address & port bindings.
at Microsoft.Exchange.Configuration.Tasks.Task.WriteError(Exception exception, ErrorCategory category, Object target, Boolean reThrow, String helpUrl)
at Microsoft.Exchange.Configuration.Tasks.Task.WriteError(Exception exception, ErrorCategory category, Object target)
at Microsoft.Exchange.Management.SystemConfigurationTasks.SetReceiveConnector.InternalValidate()
at Microsoft.Exchange.Configuration.Tasks.Task.<ProcessRecord>b__b()
at Microsoft.Exchange.Configuration.Tasks.Task.InvokeRetryableFunc(String funcName, Action func, Boolean terminatePipelineIfFailed)”.

It’s possible to correct this in environments with more than one Exchange Server by using the Exchange Admin Center but if you are in a single server environment you will need to use ADSIEdit and connect to Configuration – Well known Naming Context

Navigate to Configuration -> Services -> Microsoft Exchange -> Your Organization Name -> Administrative Groups -> Exchange Administrative Group (FYDIBOHF23SPDLT) -> Servers -> Server Name -> Protocols -> SMTP Receive Connectors.

You will see a list of Receive Connectors.  Locate the custom connectors and review the value for attribute msExchSmtpReceiveRole. If the value is 32 set it to 16384. Repeat this for each custom Receive Connector and re-run setup for CU8.


Did you find this helpful?

Share it on social media!

Keith Reinert joined Adaptive Solutions in 2009 as a systems engineer with a background in supporting law-firms. He has a wide range of skills including document management, Microsoft Windows deployment, messaging, and virtualization. When not at work, Keith enjoys reading novels, juicing, and Djing.

Leave a Comment