Wednesday 26 February 2014

/PrepareAD fails with error message: 'A hybrid deployment with Office365 has been detected.'

Hi,

As you all know before Exchange Server 2013 or its Cumulative Update is installed, you need to prepare the Active Directory forest and domain(s).  However you may have an on-premise Exchange Server environment co-existing with an Office 365 tenant. When this is the case and you run the /PrepareAD switch, the Prerequisite Analysis will FAIL. See below:
Setup /PrepareAD /IAcceptExchangeServerLicenseTerms

Exchange2013_PrepareAD_ERROR

To be able to prepare your Active Directory in a coexistence scenario with Exchange Online you would need to export your organisation configuration to an XML file. To do this:

1- Logon to your O365 tenant

2- Run
Get-OrganizationConfig | Export-clixml -Path X:\Path\filename.xml

 

Exchange2013_PrepareAD_FIX1

3- Now re-run the PrepareAD switch with the exported XML as shown below. You should be able to run it successfully.
Setup /PrepareAD /TenantOrganizationconfig:C:\ecswordONLINEOrganizationConfig.xml /IAcceptExchangeServerLicenseTerms

Exchange2013_PrepareAD_FIX2

You would need to follow this approach during the installation of the Cumulative Updates which would require Organisation Preparation.

ecsword

 

No comments:

Post a Comment