Quantcast
Channel: TechNet Blogs
Viewing all articles
Browse latest Browse all 34890

Office 365 Insight into the Hybrid Configuration Wizard

$
0
0

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:

  1. Global Prerequisites task – prerequisite check see below.
  2. Legacy Exchange Support Task – Legacy Exchange requirements.
  3. Recipient Configuration Task – Accepted domains and email address policy changes.
  4. Organization Relationship Task – Federation configuration.
  5. On Off Settings Task – Organization Relationship config like Availability Address Space, Free Busy Access, TargetOWAURL etc.
  6. 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:

  1. 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.
  2. 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.
  3. Checks the validity of the certificate for the current Client Access Server.
    1. Check if the certificate is a self-signed certificate.
    2. Check if the certificate is trusted on the CAS role.
    3. 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:

  1. Checks if Legacy Exchange Support is required – this is done as follows:
    1. Populates list with Get-ExchangeServer
    2. Loops through each server and checks if server is Exchange 2010 or higher.
    3. Runs Get-PublicFolderDatabase against each server.
    4. If the above returns any results the code will continue and kick off the rest of the Public Folder configuration in the next steps.
    5. 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.
    6. Loops through each Public Folder and checks if “OU=EXTERNAL (FYDIBOHF25SPDLT)” exists.
    7. 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 
Some more information on Hybrid Servers with Public Folders - http://technet.microsoft.com/en-us/library/hh757251(v=exchg.141).aspx

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


Viewing all articles
Browse latest Browse all 34890

Trending Articles