In this post I want to cover the Hybrid Configuration process - specifically detail on the Configure Legacy Exchange Support step.
The Hybrid Configuration Wizard has 6 tasks that it executes:
- Global Prerequisites task – prerequisite check see below.
- Legacy Exchange Support Task – Legacy Exchange requirements.
- Recipient Configuration Task – Accepted domains and email address policy changes.
- Organization Relationship Task – Federation configuration.
- On Off Settings Task – Organization Relationship config like Availability Address Space, Free Busy Access, TargetOWAURL etc.
- Hybrid mail flow task – Creates send and receive connectors for Hybrid mail flow.
Lets cover the first two tasks where most of the problems usually occur (from what I’ve seen in the field).
Global prerequisites task– this task does the following checks:
- Checks the accepted domains to determine if a hybrid domain exists. This enumerates and loops through all your accepted domains so please don’t use * as an accepted domain on your Exchange Organization (yes I’ve encountered this) – this breaks the Hybrid Configuration Wizard and it crashes the EMC.
- Checks if the current server has the CAS Role installed and checks your Autodiscover URLs on the ExternalURL - so ensure the hybrid namespace and Autodiscover URLs are set correctly as this is used later in the configuration during Organization Relationship configuration.
- Checks the validity of the certificate for the current Client Access Server.
- Check if the certificate is a self-signed certificate.
- Check if the certificate is trusted on the CAS role.
- Check if the date on the certificate is valid.
Legacy Exchange Support task– This task covers legacy Public Folder configuration to allow Free/Busy lookup where Public Folder Databases exist in an organization. It can cause some major headaches if your Public Folder infrastructure is not healthy and the way it looks up Exchange servers in the organization.
Herewith the logic of this task:
- Checks if Legacy Exchange Support is required – this is done as follows:
- Populates list with Get-ExchangeServer
- Loops through each server and checks if server is Exchange 2010 or higher.
- Runs Get-PublicFolderDatabase against each server.
- If the above returns any results the code will continue and kick off the rest of the Public Folder configuration in the next steps.
- If Get-PublicFolder –identity ‘\NON_IPM_SUBTREE\SCHEDULE+ FREE BUSY’ –server <server> -recurse cmdlet returns any results the code will go to the next step.
- Loops through each Public Folder and checks if “OU=EXTERNAL (FYDIBOHF25SPDLT)” exists.
- If step e returns null objects the code kicks off the Install-FreeBusyFolder cmdlet to create the OU=EXTERNAL (FYDIBOHF25SPDLT) folder in Public Folder hierarchy.
I want to pause here for a moment and just highlight that the code executes Get-ExchangeServer and loops through each server. The impact of this is that your first server in the Get-ExchangeServer results will be the oldest server in your organization. So your brandspanking new Exchange 2010 Hybrid servers will be the last servers on this list. So be aware that if you have any firewalls between any of your Exchange Servers we need clear traffic between the Hybrid Servers and the first Exchange server in that list – otherwise you might get the ‘Subtask ValidateConfiguration execution failed: Configure Legacy Exchange Support’ error.
It’s also important that your Public Folder infrastructure replication is working and healthy – otherwise you might experience problems with the Intall-FreeBusyFolder cmdlet.
It’s a requirement to have the Mailbox role on the Hybrid server in the event that you have Public Folders in the organization. Also, you need to create a Public Folder database on the server and ensure (force) that the hierarchy - \NON_IPM_SUBTREE folders and subfolders are replicated to this database by using AddReplicaToPFRecursive.ps1 script
- .\AddReplicaToPFRecursive.ps1 –Server OLD2007 –TopPublicFolder \ –ServerToAdd NEW2010
- .\AddReplicaToPFRecursive.ps1 –Server OLD2007 –TopPublicFolder \NON_IPM_SUBTREE –ServerToAdd NEW2010
- .\AddReplicaToPFRecursive.ps1 –Server OLD2007 –TopPublicFolder \NON_IPM_SUBTREE\ SCHEDULE+ FREE BUSY’ –ServerToAdd NEW2010
Remember to size your storage correctly for the Hybrid Servers if they will be hosting Public Folder Databases and the usual Public Folder guidance applies - http://technet.microsoft.com/en-us/library/bb629523(v=exchg.141).aspx
Hopefully the above can help with your troubleshooting steps if you receive the dreaded ‘Subtask ValidateConfiguration execution failed: Configure Legacy Exchange Support’ error during your Hybrid Configuration.
Until next time,
Michael