Exchange 2010 Outlook Web App and Lync Server 2010 Integration

 Quick and dirty guide to get Lync working in Exchange 2010 Web App

1. Download and install the following components

On Exchange 2010 CAS

Note: If any other Unified Communications Managed API are installed uninstall before installing

Note: The installer has a limited GUI which does not confirm that the software was installed

Note: The installer has a limited GUI which does not confirm that the software was installed

2. Check (and note) Exchange Certificate Thummbprint

On Exchange 2010 CAS

  • Run the following command in the Exchange Management Shell and note the thumbprint and subject on the certificate you are using

# get-ExchangeCertificate | fl

3. Set Lync server used by Exchange for IM

On Exchange 2010 CAS

  • Run the following command in the Exchange Management Shell

# Get-OwaVirtualDirectory | Set-OwaVirtualDirectory -InstantMessagingServerName <Lync server (or pool) FQDN> -InstantMessagingCertificateThumbprint <thumbprint from previous step> -InstantMessagingEnabled $true -InstantMessagingType 1

  • Open an eleveated command prompt and run “iisreset /noforce” to apply the changes to OWA

4. Finally tell Lync about OWA

On Lync 2010 Server

  • Run the following command in Lync Server Management Shell:

# Get-CsSite (make a note of the siteID)

# New-CsTrustedApplicationPool -Identity <SN of Exchange certificate from step 2> -Registrar <Lync server (or pool) FQDN> -Site <siteId from previous step> -RequiresReplication $false

# New-CsTrustedApplication -ApplicationId OutlookWebApp -TrustedApplicationPoolFqdn <SN of Exchange certificate from step 2>  -Port 9999

# Enable-CsTopology

Lync Mobile Notifications

Just a quick post this time on Lync Mobile client notifications.

Lync mobile app notifications on iOS and Windows Phone 7 devices will only work if you have dynamic federation.

The reason for this is because the app needs to be running to be able to receive notification and iOS and Win Phone 7 do not allow the app to run in the background to receive notifications. For other devices it just works.

Here’s what synamic federation is as explained by Lync Guy (@ http://ocsguy.com/2011/04/20/a-few-words-on-federation/)

Dynamic federation is a method where a partner company’s edge server is discovered by looking up an SRV record (_sipfederationtls._tcp.domain.com).  Dynamic federation is perfect for an environment where users may need to add contacts from other companies quickly and without administrative intervention.  The firewall will have to allow inbound connections to the access edge server on port 5061 from any potential partners, but for most companies who use open federation, they allow traffic from everywhere on this port to prevent needing administrative assistance.

So with the above in mind, if the company who hosts your external DNS does not support SRV records then you will not have dynamic federation or notification on your mobile clients who run iOS or Windows Phone 7.

Lync Mobile App Downloads link (probably easier to just go to your respective app store on your device)