Bize Ulaşın / Contact Us

Exchange Server Logo

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


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:


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



3- Now re-run the PrepareAD switch with the exported XML as shown below. You should be able to run it successfully.


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



Leave a Reply

Your email address will not be published. Required fields are marked *

Kontrol / Control * Time limit is exhausted. Please reload CAPTCHA.

This site uses Akismet to reduce spam. Learn how your comment data is processed.