Updates for Skype for Business Server 2019

Applies to: Skype for Business Server 2019

This article specifies the applicability of Microsoft Skype for Business Server 2019 updates for each server role.

Improvements and fixes in the June 2019 update


This update enables Location-Based Routing to support Skype for Business mobile clients. It also fixes the following issue:

Event ID 12290 and "The evaluation period... has expired" error during deployment by using Skype for Business Server 2019 evaluation software

Installation methods


Prerequisites

To apply this update, you must have Microsoft .NET Framework 4.5.2 (Offline Installer or Web Installer) installed.

Install the update

The Server Update Installer applies all updates for the appropriate server role in one operation.

Note If User Account Control (UAC) is turned on, you must start the Server Update Installer by using elevated permissions to make sure that all updates are installed correctly.


Note Updates for Skype for Business Server 2019 will no longer be auto-installed by Microsoft Update. You must manually download SkypeServerUpdateInstaller.exe from Microsoft Update, and then use the following installation steps.

To apply the update to the Front End servers in a pool

  1. Type the following cmdlet:
    Get-CsPoolFabricState -PoolFqdn <PoolFQDN> 
    If this cmdlet reveals any missing replicas, run the following cmdlet to recover the pool before you apply any updates:
    Reset-CsPoolRegistrarState -ResetType QuorumLossRecovery 
  2. On the first server that you want to update, run the following cmdlet:
    Invoke-CsComputerFailOver -ComputerName <Front End Server to be patched> 
    This cmdlet moves all services to other Front End servers in the pool, and takes this server offline.
  3. Run the Server Update Installer, and then click Install Updates to upgrade the server role.

    You can also run the following parameters together with the SkypeServerUpdateInstaller.exe command:
     
    • The /silentmode switch applies all applicable updates in the background.
    • The /silentmode /forcereboot switch applies all applicable updates in the background, and then automatically restarts the server at the end of the installation process, if this is necessary.
    • The /extractall switch extracts the updates from the installer, and saves the updates in a subfolder that is named "Extracted" in the folder in which you ran the command.
  4. On the upgraded server, run the following cmdlet:
    Invoke-CsComputerFailBack -ComputerName <Front End Server to be patched> 
    The server is returned to service.
  5. Repeat steps 2–4 for each server that has to be upgraded.

To apply the update to a Back End server or Standard Edition server

  1. Log on to the server that you are upgrading as a member of the CsAdministrator role.
  2. Start the Skype for Business Server Management Shell: Click Start, click All Programs, click Skype for Business 2019, and then click Skype for Business Server Management Shell.
  3. Stop Skype for Business Server services. At the command line, type:
    Stop-CsWindowsService 
  4. Stop the World Wide Web service. At the command line, type:
    net stop w3svc 
  5. Close all Skype for Business Server Management Shell windows.
  6. Run the Server Update Installer, and then click Install Updates to upgrade the server role.

    You can also run the following parameters together with the SkypeServerUpdateInstaller.exe command:
     
    • The /silentmode switch applies all applicable updates in the background.
    • The /silentmode /forcereboot switch applies all applicable updates in the background, and then automatically restarts the server at the end of the installation process if this is necessary.
    • The /extractall switch extracts the updates from the installer, and saves the updates in a subfolder that is named "Extracted" in the folder in which you ran the command.
  7. Start the Skype for Business Server Management Shell: Click Start, click All Programs, click Skype for Business 2019, and then click Skype for Business Server Management Shell.
  8. Start Skype for Business Server services. At the command line, type:
    Start-CsWindowsService 
  9. Restart the World Wide Web service. At the command line, type:
    net start w3svc 
  10. Apply the changes made to the SQL Server databases by doing one of the following.

    Note When you run the Install-CsDatabase cmdlet, you receive an error message that you can safely ignore. The error message in the request is expected if you are updating the database on a computer that isn't hosting the Central Management Store.
     
    • If this is an Enterprise Edition Back End Server, and there are no collocated databases on this server, such as Archiving or Monitoring databases, type the following at a command line:
      Install-CsDatabase -Update -ConfiguredDatabases -SqlServerFqdn <SQL Server FQDN> 
    • If this is an Enterprise Edition Back End Server, and there are collocated databases on this server, type the following at a command line:
      Install-CsDatabase -Update -ConfiguredDatabases -SqlServerFqdn <SQL Server FQDN>  -ExcludeCollocatedStores 
    • If this is a Standard Edition server, type the following at a command line:
      Install-CsDatabase -Update -LocalDatabases 
  11. If the Skype for Business Back End pool uses SQL AlwaysOn Availability Group, update the AlwaysOn databases accordingly as follows:
    1. Install the update on your Skype for Business server or servers.
    2. Run the following PowerShell command in your Skype for Business Management Shell (logged in by using an account that's appropriately permissioned to apply changes to the SQL AlwaysOn databases), as follows:

      Install-CsDatabase -Update -ConfiguredDatabases -SqlServerFqdn [sqlpool.contoso.com] -Verbose

      Note In this command, replace [sqlpool.contoso.com] with the fully qualified domain name (FQDN) of your AlwaysOn availability group.

Uninstallation methods


Uninstall the update

Remove the update from an Enterprise Edition pool that has two front-end servers

To do this, follow these steps:

  1. Stop new connections to other front-end servers by running the following command on both front-end servers:
    Stop-CsWindowsService -ComputerName <Computer.FQDN> 
  2. Uninstall any updates.
  3. Restart the server, and make sure that both front-end servers are accepting new connections.
  4. After both front-end servers are updated, you must run the following command:
    Reset-CsPoolRegistrarState -ResetType FullReset 
    Then, run the following command:
    Start-CsPool -PoolFqdn <Pool.FQDN> 


Remove the update from an Enterprise Edition pool that has at least three front-end servers

To do this, follow these steps:
 

  1. Obtain the list of the upgrade domains for the Enterprise Edition pool that is associated with a front-end server. To do this, run the Get-CsPoolUpgradeReadinessState cmdlet on the front-end server.
  2. Uninstall any updates for each upgrade domain.

    Notes
     
    • You must uninstall updates from one upgrade domain at a time.
    • You can remove updates in parallel from all servers that are in the same upgrade domain.

    To uninstall all servers that are in the same upgrade domain, follow these steps:
     
    1. Run the following command:
      Invoke-CsComputerFailover -ComputerName <Computer.FQDN> 
    2. Uninstall updates on front-end servers that are associated with an upgrade domain.
    3. Run the following command:
      Invoke-CsComputerFailback -ComputerName <Computer.FQDN> 
    Note You must repeat step 2 to uninstall updates from every upgrade domain until all upgrade domains in the pool are updated.

You must perform several configuration operations, depending on the kind of Skype for Business 2019 Enterprise Edition back-end servers that you are using.

Note If database mirroring is enabled for the back-end databases, we strongly recommend that you use the Invoke-CsDatabaseFailover -NewPrincipal Primary command, and then run the Get-CsDatabaseMirrorState -PoolFqdn <fqdn of pool> cmdlet to verify that the primary server is principal for all databases before you run the Install-CsDatabase cmdlet. If Persistent Chat is collocated (that is, the Persistent Chat front-end service and back-end database are running on the same server), you must run the Install-CsDatabase cmdlet together with the ExcludeCollocatedStores parameter.


Skype for Business Server 2019 Monitoring Databases

If Skype for Business Monitoring databases are deployed on stand-alone SQL databases, run the following command:

Install-CsDatabase -ConfiguredDatabases -SqlServerFqdn <FEBE.FQDN>-Verbose 

In this command, <FEBE.FQDN> is a placeholder for the actual value.

Skype for Business Server 2019 Standard Edition and other roles

  1. Uninstall updates on the Standard Edition or any other server role.
  2. Restart the server if it is required to do this after you uninstall these updates.

List of server roles and the updates that apply to them


Skype for Business Server 2019 - Standard Edition server

  • Update for Front End Server and Edge Server (Standard or Enterprise edition server): KB 4506173 

Skype for Business Server 2019 - Enterprise Edition - Front End server and Back End server

  • Update for Front End server and Edge server (Standard or Enterprise edition server): KB 4506173

Skype for Business Server 2019 - Edge server

  • Update for Front End server and Edge server (Standard or Enterprise edition server): KB 4506173 

Skype for Business Server 2019 - Director server

  • Update for Front End server and Edge server (Standard or Enterprise edition server): KB 4506173

References


Learn about the terminology that Microsoft uses to describe software updates.