Monday, January 14, 2013

Lync Server 2013 Prepare Forest fails with “Prepare Forest Active Directory settings execution failed on an unrecoverable error. ForestPrepareTask execution failed on an unrecoverable error.”

Problem

You attempt to prepare the forest of your Active Directory for Lync Server 2013:

image

image

image

… but the step fails with:

Prepare Forest Active Directory settings execution failed on an unrecoverable error. ForestPrepareTask execution failed on an unrecoverable error.

image

Reviewing the logs show the following error:

TaskFailed: Task executation failed.

Error: Existing universal groups were found in "CN=Users,DC=domainName,DC=internal". Specify where to create new Lync Server universal groups explicitly at the command line with the GroupDomain parameter.

image

Solution

There are probably more than one reason that could cause this issue but the top searches via Google suggest that this happens when the Lync Server universal groups get moved out of the default Users container:

http://777notes.wordpress.com/2012/11/22/lync-2013-prepare-current-forest-task-failed/

http://social.technet.microsoft.com/Forums/zh/ocsplanningdeployment/thread/f3ab494b-fc9e-43ae-8268-411ead5e7317

After validating that all of the groups were never moved from the default Users container, I went ahead and re-ran the forest prep wizard but this time entered the domain FQDN:

image

… which lead to the preparation successfully completing without any errors:

image

The environment I was working with has only 1 domain in 1 forest so I’m unsure as to why I had to specify the domain but since I was in a rush to move forward, I’ll see if I can come back to this at a later time to determine the cause.

2 comments:

Email archiving said...

As previous posts, this is one more good explained and helpful!

Gilbert Rajan said...

The first link you posted resolved my issue... Thanks Terrence.