Solved

Remove-CsTrustedApplication

Posted on 2011-09-26
3
2,183 Views
Last Modified: 2012-05-12
I have a client that had OCS 2007 R@ and Lync 2010 side by side.  All elements of the OCS pool were disabled except for a Trusted Application Server.  The pool was then removed.

Now in topology builder, it still shows the server under the BackSite and I cannot remove it.  If I  try from the Lync PS, I get:
Remove-CsTrustedApplication : Cannot add, remove, or modify applications on a legacy trusted application pool. Use the legacy tools to modify the applications, then run Merge-CsTopology.

How can I remove this now?
0
Comment
Question by:wdurrett
  • 2
3 Comments
 
LVL 3

Accepted Solution

by:
dawho9 earned 500 total points
ID: 36600487
What you can do is export out your topology to xml ( get-cstopology -AsXML | Out-File c:\topo.xml ).  This will dump it all into a readable xml format. In there you should be able to find the trusted application information.  Update the xml file and remove the trusted application information and then do a publish-cstopology -filename c:\topo.xml.

Now before you do this, you should be careful to make a backup of the topology file (the one from above) so that you can re-publish if you were to screw something up big time.  You should also make a backup of your config by running the export command I detail below.

Random Background Info - this doesn't specifically apply to what you are asking but I think it's important to note this when you start playing around with the above.

The publish-cstopology will publish the information to the CMS database, not to the local stores.  If for some reason your environment is having issues with CMS to Local Store replication in Lync, you can use an Export-CSConfiguration -FileName c:\config.zip and then an Import-CSConfiguration -FileName c:\config.zip -LocalStore to force it into the local stores database.  You shouldn't need this random info, unless replication is broken, but it's good to know about.

Thanks,

Richard
0
 
LVL 10

Assisted Solution

by:wdurrett
wdurrett earned 0 total points
ID: 36600675
Thanks Richard.

I ended up using the instrucions here:
http://blogs.technet.com/b/markbarr/archive/2009/12/11/how-to-search-ad-for-ocs-objects.aspx

And removeing it.

0
 
LVL 10

Author Closing Comment

by:wdurrett
ID: 36895869
Both ways should work.
0

Featured Post

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

Installing a printer using group policy preferences is not that hard let’s take a look at it. First lets open up your group policy console and edit the policy you want to add it to. I recommend creating a new policy for each printer makes it a l…
Mapping Drives using Group policy preferences Are you still using old scripts to map your network drives if so this article will show you how to get away for old scripts and move toward Group Policy Preference for mapping them. First things f…
This tutorial will walk an individual through the steps necessary to join and promote the first Windows Server 2012 domain controller into an Active Directory environment running on Windows Server 2008. Determine the location of the FSMO roles by lo…
This tutorial will walk an individual through the process of transferring the five major, necessary Active Directory Roles, commonly referred to as the FSMO roles from a Windows Server 2008 domain controller to a Windows Server 2012 domain controlle…

707 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now