?
Solved

Remove-CsTrustedApplication

Posted on 2011-09-26
3
Medium Priority
?
2,319 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 2000 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 does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

A company’s centralized system that manages user data, security, and distributed resources is often a focus of criminal attention. Active Directory (AD) is no exception. In truth, it’s even more likely to be targeted due to the number of companies …
Always backup Domain, SYSVOL etc.using processes according to Microsoft Best Practices. This is meant as a disaster recovery process for small environments that did not implement backup processes and did not run a secondary domain controller that ne…
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 …
Sometimes it takes a new vantage point, apart from our everyday security practices, to truly see our Active Directory (AD) vulnerabilities. We get used to implementing the same techniques and checking the same areas for a breach. This pattern can re…
Suggested Courses

800 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