Solved

Remove-CsTrustedApplication

Posted on 2011-09-26
3
2,205 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

Control application downtime with dependency maps

Visualize the interdependencies between application components better with Applications Manager's automated application discovery and dependency mapping feature. Resolve performance issues faster by quickly isolating problematic components.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

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…
Introduction You may have a need to setup a group of users to allow local administrative access on workstations.  In a domain environment this can easily be achieved with Restricted Groups and Group Policies. This article will demonstrate how to…
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 to another domain controller. Log onto the new domain controller with a user account t…
This tutorial will walk an individual through the process of configuring their Windows Server 2012 domain controller to synchronize its time with a trusted, external resource. Use Google, Bing, or other preferred search engine to locate trusted NTP …

920 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

11 Experts available now in Live!

Get 1:1 Help Now