Object reference not set to an instance of an object error when you run the Hybrid Configuration wizard
Original KB number: 3067696
Symptoms
When you run the Hybrid Configuration wizard, you receive the following error message:
ERROR: Updating hybrid configuration failed with error 'Subtask CheckPrereqs execution failed: Creating Organization Relationships.
Object reference not set to an instance of an object.
Cause
The hybrid object is missing from the Active Directory domain. For example, this can occur if the object was deleted.
Resolution 1 - Rerun setup /prepareAD
On the server that is running Microsoft Exchange Server, open a Command Prompt window as an administrator, and then change to the folder in which the Exchange installation files are stored.
Run the following command:
setup /prepareAD
Restart the server.
Rerun the Hybrid Configuration wizard.
Resolution 2 - Perform an authoritative restore of the hybrid object
Restore the hybrid object that was deleted from the following location:
CN=Configuration,DC=<DOMAIN>,DC=<COM>,CN=Services,CN=Microsoft Exchange,CN=<ORGANIZATIONAME>,CN=Hybrid Configuration
For more information about how to do this, see Performing Authoritative Restore of Active Directory Objects.
Still need help? Go to Microsoft Community or the Microsoft Q&A.
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for