Saturday, July 16, 2016

Cannot publish topology changes. Conference directories still exist on a pool that would be deleted-Lync 2013

Problem

Today, I was deleting the old enterprise pool after deleting the pool and publish the topology got error   “Cannot publish topology changes. Conference directories still exist on a pool that would be deleted. Remove the conference directories before continuing.”

“Error: An error occurred: "System.InvalidOperationException" "Cannot publish topology changes. Conference directories still exist on a pool that would be deleted. Remove the conference directories before continuing.”

Solution

After analyzing the error why not able to complete the publish topology process is because the error message states clearly, there are still old conference directories linked to the pool and you cannot delete those conference directories with in GUI, so I need to use cmdlet to do remove.

Get-CsConferenceDirectory | ft Identity, ServiceID

Once you run PowerShell command you will see the conference IDs, now you have to run another Power Shell command 

Remove-CsConferenceDirectory -Identity 2 -force

as i need to remove the ServiceID 2 and -force option, without -force option i got below errors

+ Remove-CsConferenceDirectory -Identity 2
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Remove-CsConferenceDirectory]
, ConferenceDirectoryException
+ FullyQualifiedErrorId : No available Servers to connect to.,Microsoft.Rt
c.Management.ConferenceDirectoryCmdlets.RemoveConferenceDirectoryCmdlet


Once the conference directory has been removed, published the topology successfully 

Thank you!

No comments:

Post a Comment