Lync Server 2013 Forest Prep Issue - Task execution failed (Object reference not set to an instance of an object)

Several times while preparing the AD Forest, we run into an issue during the preparation process. This is mostly with a new installation.

You will receive an preparation failed error regardles if you chose the wizard or the Enable-CsAdForest command.
It failes with:

Prepare Forest Active Directory setting exection failed on an unrecoverable error
Command execution failed: Value cannot be null.
Parameter name: InstanceToDelete




This is an wellknow issue in the installation process.

Solution:
you must use the PowerShell command
Enable-CsAdForest -GroupDomain <AD Domain FQDN> -GroupDomainController <DC FQDN> -GobalCatalog <GC FQDN>




Comments

  1. Thanks for the Post !!! It worked and resolved my issue.
    small correction with your powershell: spelling of "Global"

    ReplyDelete
  2. I just stumbled across your Blog a few weeks ago and it has been an invaluable resource. I used this fix for my greenfield Skype for Business 2015 install. Thank you sir.

    ReplyDelete

Post a Comment

Popular posts from this blog

How to hide users from GAL if they are AD Connect synchronized

Cannot join external Lync Meeting: Lync Edge Server Single IP Address (Lync Edge Server Single IP Web Conferenceing Problem)

MFA with Guest Access and different tenants settings