Exchange 2016 and IM Integration

Ex2013 LogoThose configuring IM integration for OWA and Lync or Skype for Business know the drill of editing the web.config files on your Exchange servers and configuring the certificate thumbprint and Lync/SfB pool? That especially became a nuisance as after each Cumulative Update those settings needed to be reconfigured, for which I wrote a Configure-IMIntegration script.

The Exchange team has obviously listened to feedback from customers and made this setting persistent in Exchange 2016. No longer is it required to dive in those web.config files after installing each CU. Instead, you now configure these settings using the Set-Override cmdlet, which will store the setting in Active Directory.

For example:

New-SettingOverride -Name '<Description>' -Server <Server/Wildcard> -Component OwaServer -Section IMSettings -Parameters @("IMServerName=<Server/Pool FQDN>","IMCertificateThumbprint=<Certificate Thumbprint>") -Reason "<Reason>" -MinVersion "<Minimum Version To Apply To>" -MaxVersion "Maximum Version to Apply To"
Get-ExchangeDiagnosticInfo -Process Microsoft.Exchange.Directory.TopologyService -Component VariantConfiguration -Argument Refresh

For example, to configure the override for all servers with a name starting with EX16, configuring lync.contoso.com as pool FQDN and a specific thumbprint, only for Exchange builds starting at 15.1.225.42 (Exchange 2016 RTM), you could use:

New-SettingOverride -Name 'IM Integration' -Server EX16* -Component OwaServer -Section IMSettings -Parameters @("IMServerName=lync.contoso.com","IMCertificateThumbprint=12345678123412341234567812345678123126789") -Reason "Configure IM" -MinVersion "15.01.0225.42"
Get-ExchangeDiagnosticInfo -Process Microsoft.Exchange.Directory.TopologyService -Component VariantConfiguration -Argument Refresh

Finally, restart the OWA App pool to have OWA reread the new settings:

Restart-WebAppPool MSExchangeOWAApppool

10 thoughts on “Exchange 2016 and IM Integration

  1. Pingback: (Re)configuring IM Integration | EighTwOne (821)

  2. Pingback: Configuring Exchange 2016 and Skype for Business Server 2015 Outlook Web Access Integration | JC's Blog-O-Gibberish

  3. How do I change the IMCertificateThumbprint if I already ran the Set-Override cmdlet in the past? If I try to run the command again with a new Thumbprint I get error that it already exist.

    Like

  4. should the certificate for ‘imcertificatethumbprint’ contain the FQDN of my OWA alias (webmail.domain.com) AND the server (dc1msg016a.domain.com)?

    I have a 3rd party (entrust) SAN cert I use for owa, activesync, autodiscover, etc – that’s the cert applied to IIS, SMTP on my CAS, but when I use that cert for IMCertificateThumbprint OWA cannot connect to SFB (2015)

    Like

Leave a comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.