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

  1. Running as a Skype for Business Server Administrator, launch Skype for Business Server Management Shell.

  2. On the Start menu, select All Programs, select Skype for Business Server 2015, and then click Skype for Business Server Management Shell.

  3. 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.

  4. 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.

  5. 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.

  6. 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.

  7. Run the Enable-CsTopology cmdlet to finalize the changes to the topology.

      Enable-CsTopology