Deactivation best practices
Applies to: Skype for Business 2015
An application can be deactivated by following the steps in the following procedure.
To deactivate an application
Running as a Skype for Business Server Administrator, launch Skype for Business Server Management Shell.
On the Start menu, select All Programs, select Skype for Business Server 2015, and then click Skype for Business Server Management Shell.
Remove the Active Directory contacts and ApplicationEndpoint instances that you no longer need by running the following PowerShell cmdlet:
Remove-CsTrustedApplicationEndpoint -Identity sip:ExternalApp@mydomain.com
Note
Use the appropriate identity for your ApplicationEndpoint instance.
Remove the application service port entries that you no longer need by running the following PowerShell cmdlet.
Remove-CSTrustedApplication -Identity "TrustedApps.contoso.com/urn:application:ucmasampleapplication"
Note
This cmdlet also cleans up any contact objects or ApplicationEndpoint instances tied to the application.
If the computer hosting your application from your topology is no longer needed in the topology, remove it using the following PowerShell cmdlet.
Remove-CsTrustedApplicationComputer -identity "MyAppBox.contoso.com"
Note
Use the appropriate identity for the computer being removed.
If the trusted application pool is no longer needed, remove it using the following PowerShell cmdlet.
Remove-CsTrustedApplicationPool -identity "MyAppPool.contoso.com"
Note
Use the appropriate identity for your pool.
Note
This cmdlet also cleans up any contact objects or ApplicationEndpoint instances tied to the pool.
Run the Enable-CsTopology cmdlet to finalize the changes to the topology.
Enable-CsTopology