Friday, October 17, 2014

Running the Prepare Forest step for a new Lync Server 2013 deployment throws the error: “Value cannot be null.”

Problem

You’re performing a greenfield deployment of Microsoft Lync Server 2013 and execute the Prepare Current Forest step:

image

… but it fails with the error:

Prepare ForestEnable-CSAdForest -Verbose -Confirm:$false -Report "C:\Users\a-tluk\AppData\Local\Temp\Enable-CSAdForest-[2014_10_15][11_12_50].html"Creating new log file "C:\Users\a-tluk\AppData\Local\Temp\Enable-CSAdForest-085d5b10-3f1a-4136-9af5-b128bdc6a4c9.xml".Enable the Active Directory forest to host Lync Server 2013 deployments.Prepare Forest Active Directory settings execution failed on an unrecoverable error.Creating new log file "C:\Users\a-tluk\AppData\Local\Temp\Enable-CSAdForest-[2014_10_15][11_12_50].html".clip_image001WARNING: Enable-CSAdForest failed.clip_image001[1]WARNING: Detailed results can be found at "C:\Users\a-tluk\AppData\Local\Temp\Enable-CSAdForest-[2014_10_15][11_12_50].html".Command execution failed: Value cannot be null.Parameter name: instanceToDelete

image

Opening the detailed log shows the following:

image

Exiting the failed step shows that the Prepare Current Forest step has not completed:

image

Solution

While most of the solutions through searches suggest to use PowerShell to run this step, you can actually get through this error by simply putting in the domain that you would like the universal groups created:

image

imageimage

imageimage

No comments: