Removing Server from Topology Fails

I'm trying to remove a Lync from server from our topology, but I get the following error when publishing the Topology after Deleting the Server:

Error: An error occurred: "System.InvalidOperationException" "Cannot publish topology changes. Conferences still exist on one or more deleted services."

There is nothing left running on the server from what I can find in the Topology builder - anyone know what could cause this...and how to get around it?

jon

November 13th, 2010 11:06pm

Hi,

Have you restarted all the services ?

I hope after restarting services your problem will be resolved.

 

Regards.

Shafaquat Ali.

Free Windows Admin Tool Kit Click here and download it now
November 14th, 2010 6:48am

you need to remove the the conference directory attached to the lync server you are trying to remove.

you need to do it via powershell i am afraid

November 14th, 2010 12:28pm

Open the lync powershell and run:

 

get-csconferencedirectory

 

From there you will see all conference directories listed, take note of the directories listed under the server you are trying to remove

 

Then run remove-csconferencedirectory -identity number

number=two digit identity listed in the get-csconferencedirectory command

 


Free Windows Admin Tool Kit Click here and download it now
November 14th, 2010 4:35pm

Little modification

 

run remove-csconferencedirectory -identity number -Force

if you get error like no such host is know. THis will remove the information from the LYNC environment.

December 6th, 2010 9:49am

Perfect thanks, (both postings) hit the nail right on the head and solved this one.

Cheers,

Free Windows Admin Tool Kit Click here and download it now
September 19th, 2011 9:28pm

I am getting the same error, when i trying to remove legacy OCS 2007 R2 server from lync 2010 topology. Once i ran the below command, it shows ocspool name conference directory. Please find below error msg and help me to get this resolve. thanks in advance.

Get-CsConferenceDirectory

Identity             : 1

ServiceId            : UserServer:lyncpool.domain.com

TargetServerIfMoving :

Id                   : 1

Fingerprint          : 4e224923-559d-4156-9652-3e95a932df8d

 

Identity             : 4

ServiceId            : UserServer:ocspool.domain.com

TargetServerIfMoving :

Id                   : 4

Fingerprint          :

PS C:\Users\ocsadmin> Remove-CsConferenceDirectory -Identity 4

Remove-CsConferenceDirectory : Pool "ocspool.domain.com" not found in Active Directory.

At line:1 char:29

+ Remove-CsConferenceDirectory <<<<  -Identity 4

    + CategoryInfo          : NotSpecified: (:) [Remove-CsConferenceDirectory]

   , ConferenceDirectoryException

    + FullyQualifiedErrorId : Pool "ocspool.domain.com" not found in Active Directory.,Microsoft.Rtc.Management.ConferenceDirectoryCmdlets.RemoveConferenceDirectoryCmdlet

 PS C:\Users\ocsadmin> Remove-CsConferenceDirectory -Identity 4 -force

Remove-CsConferenceDirectory : Pool "ocspool.domain.com" not found in Active Directory.

At line:1 char:29

+ Remove-CsConferenceDirectory <<<<  -Identity 4 -force

    + CategoryInfo          : NotSpecified: (:) [Remove-CsConferenceDirectory]

   , ConferenceDirectoryException

    + FullyQualifiedErrorId : Pool "ocspool.domain.com" not found in Active Directory.,Microsoft.Rtc.Management.ConferenceDirectoryCmdlets.RemoveConferenceDirectoryCmdlet

October 8th, 2012 12:10pm

Even I am getting the same error.

Have anyone found a solution the same?

Free Windows Admin Tool Kit Click here and download it now
November 21st, 2012 3:52pm

Also experiencing the Remove-CsConferenceDirectory : Pool "ocspool.domain.com" not found in Active Directory.

Anyone have a solution for this?

November 21st, 2012 6:29pm

Actually just figured this one out.

Open up the OCS2007R2 mmc snap in from under administrative tools. Expand the Forest and then click on unassigned Conference Directories. Remove the problematic entry. 

Return to the lync powershell and perform the steps already mentioned above

get-csconferencedirectory

find the identity

remove-csconferencedirectory - "enter the identity here" -force

Republish your topology.

Free Windows Admin Tool Kit Click here and download it now
November 21st, 2012 6:48pm

I have resolved this error after removing entries from AD with ADSI edit.

February 27th, 2013 5:05pm

What did you do to complete this task Sunil?  Where in ADSI Edit did you find the appropriate information?
Free Windows Admin Tool Kit Click here and download it now
April 5th, 2013 2:05pm

Please tell me that Complete this task with ASSi Edit

I found this link but not usefull for me :

http://blog.ucmadeeasy.com/2010/11/09/lync-server-2010-active-directory-references-and-how-to-remove-them/

For Solve this problem:

1- Log on to Main Domain Controller as administrator

2- in search bar  type ADSI and Open Consel ADSI Edit

3- RC on ADSI EDIT and click Connect to

4- in item "Select a well Know Naming Context"  Select : " Configuraton " and Click OK

5- Found follow  "CN=Services" and "CN=RTC Service" and "CN=Conference Directory"

6- Found Conference Directory by ID  and delete this.

October 27th, 2013 3:05pm

Thanks MK_84, big help!
Free Windows Admin Tool Kit Click here and download it now
March 11th, 2015 10:18am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics