Solved

Remove-CsTrustedApplication

Posted on 2011-09-26
3
2,291 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Enroll in June's Course of the Month

June’s Course of the Month is now available! Experts Exchange’s Premium Members, Team Accounts, and Qualified Experts have access to a complimentary course each month as part of their membership—an extra way to sharpen your skills and increase training.

Question has a verified solution.

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

A project that enables an administrator to perform actions within a user session context not just at the time of login but any time later on day(s) or week(s) later.
Group policies can be applied selectively to specific devices with the help of groups. Utilising this, it is possible to phase-in group policies, over a period of time, by randomly adding non-members user or computers at a set interval, to a group f…
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…
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …

688 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