I am sure that there are a number of articles explaining the process of integrating Lync 2010 with Exchange 2010 OWA, as Lync has been around for a while. I have started playing with Lync only very recently and hence this is more of a bookmark for me when I am at a customer site.
There are a number of steps to be done, in the proper order to make the integration a success.
Step 1 is to install few files on the Exchange 2010 CAS server.
If you have more than one CAS, it has to be installed on all of them.
Download OCS 2007 R2 Web Service Provider from here, extract it to C:\Web Service Provider Installer Package. It will have four files.
Download OCS 2007 R2 WSP Hotfix from here and save in the same folder.
Download UC Managed API 2.0 Redist (64bit) from here and save in the same folder.
If the CAS server is running on 2008 R2, download OCS 2007 R2 Hotfix (UcmaRedist.msp) from here and save in the same folder. The downloaded file will have the same name as one of the previously downloaded file (UcmaRedist.msp) and hence rename it, say UcmaRedist2008R2Hotfix.
Now that the required files are available locally, install them one by one in the following order.
- vcredist_x64.exe
- UcmaRedist.msi
- UcmaRedist.msp
- UcmaRedist2008R2Hotfix.msp, if your CAS is running on 2008 R2
- CWAOWASSP.msi
- CWAOWASSP.msp
- The .Net framework will be installed on a CAS server and hence can be ignored.
The installation will be quick and there won’t be any confirmation window or “finish” button. No server restart is required in between or at the end.
Step 2 is to configure OWA virtual directory for integration.
Run the following commands in the Exchange Shell on the CAS.
$cert = (Get-ExchangeCertificate | where-object {$_.services –like “*iis*” }).Thumbprint
Get-OWAVirtualDirectory | Set-OWAVirtualDirectory -InstantMessagingType OCS -InstantMessagingEnabled:$true -InstantMessagingCertificateThumbprint $cert –InstantMessagingServerName lync.exchangemaster.me
Restart IIS by running iisreset /noforce
Step 3 is to configure Lync Server with a new trusted application & pool.
Run the following commands to create a new application pool. You can also use the Lync Topology Builder to create a new app pool.
$siteid = (Get-CsSite).SiteId
New-CsTrustedApplicationPool -Identity mail.exchangemaster.me –Registrar lync.exchangemaster.me –Site $siteid -RequiresReplication $false, where identity has the OwaPoolfqdn (same as what is used in SN of cert), registrar has the lync pool fqdn.
If you use CAS array (as I have done), you will get a warning about missing computer and it can be safely ignored.
Run the following command to create a new trusted application.
New-CsTrustedApplication -ApplicationId ExchOWA -TrustedApplicationPoolFqdn mail.exchangemaster.me -Port 5555, where TrustedApplicationPoolFqdn is the fqdn of OWA server and port takes any un-used port.
Enable-CsTopology
That’s it. Login to OWA and you should have IM & presence.





Very cool! Thanks for that useful info =)
[Reply]
Rajith Enchiparambil Reply:
January 20th, 2012 at 11:12 am
No problem Jakob.
[Reply]