Walk Through – Lync Server 2010 & Exchange Server 2010 OWA Integration (Part 8)


last post, we finish off the deployment of the Lync server. now I going to walk through the integration of Lync and Exchange 2010 OWA. so that you can IM using OWA and also see the presence of the users.

Since the Exchange and Lync server that we installed is using Windows Server 2008 R2, we must install the UCMA 2.0 and OCS 2007 R2 web services. to do this, we need to download some files

UCMA 2.0 : http://go.microsoft.com/fwlink/?LinkID=198175 (this is a Unified Communications Managed API 2.0 Core runtime)

Microsoft Office Communications Server 2007 R2 Web Service Provider : http://go.microsoft.com/fwlink/?LinkId=199440 (this content four files after you unzip: CWAOWAASSP.msi, Donnetfx35setup.exe, UcamRedist.msi and vcredist_x64.exe.

PrtScr capture_3

Lastly, OCS 2007 R2 Hotfix Web Service Provider : http://go.microsoft.com/fwlink/?linkid=199437

PrtScr capture_2

Once you have downloaded all the files, we can start to do the installation and integration.

First, we start with UCMA 2.0

Double click the setup file for UcmaRuntime.exe, and click “Run”

PrtScr capture_4

Click “Install”

Second, install the OCS 2007 R2 Web Services. go to the folder “Web Service Provider Package Installer”, by default packages are extracted to the folder C: \ Web Service Provider Package Installer.

you are require to run the service in command prompt as administrator.

PrtScr capture_5

Locate the file CWAOWAASSP.msi and execute it.

PrtScr capture_6

after installed. we run the CWAOWASSP.msp hotfix.

PrtScr capture_7

after all installation is done. now, power up the Exchange Management Shell. and enter the following command.

Get-ExchangeCertificate | fl

PrtScr capture_8

and look for Thumbprint field with IIS service and copy the result to a notepad. also remember the Certificate Subject, when we configure the list of authorized hosts in Lync Server will have to configure the Certificate Subject to the name of the authorized host and create the Trusted Application Pool with this name.


In Exchange Management Shell commands are run

Get-OwaVirtualDirectory | Set-OwaVirtualDirectory-InstantMessagingServerName Name> Server Lync> InstantMessagingCertificateThumbprint <Thumbprint-Client Certificate Access> $ True-InstantMessagingEnabled InstantMessagingType-1

PrtScr capture_12

after we have run the command, do a iisreset.

PrtScr capture_13

next is Lync turn.

go to Lync Server, open the Lync Management Shell and run Get-CSSite

PrtScr capture_14

take note of the Site ID.

next, we create the Trusted Application in Lync Server. you can create using Power Shell or Topology Builder.

New-CsTrustedApplicationPool –Identity <Certificate Subject Name of Client Access> –ThrottleAsServer $true -TreatAsAuthenticated  $true -ComputerFQDN <FQDN Server Exchenge> –Site <SiteID> –Registrar <Lync Pool Server> –RequiresReplication $ false

after that, run Enable-CsTopology to apply the setting.

Next, is to configure the ports. this port can be any available port

New-CsTrustedApplication -ApplicationId <application name> -TrustedApplicationPoolFqdn Name> Certificate Subject Name of Client Access> -Port <port number>

PrtScr capture_17

run last time of Enable-CsTopology.

you may also want to reference to http://blog.schertz.name/2010/11/lync-and-exchange-im-integration/

Now, login to Exchange OWA. you will be able to see the presence of the user and you can also IM to the user.

That all for now, see you next time!!


About David Lim

David has over 15 years of experience in IT industry in designing and implementing Microsoft Solutions ranging from small to enterprise customer. He also has experience in designing and developing Microsoft Unified Communications, Collaboration and Office 365 solutions with focus on Exchange, Lync & SharePoint as well as strategic migration planning in complex business environments. He is specializing in architecture and design of Lync Voice deployments. He has been actively involved in various speaking engagements, the recent being the sessions on Lync On-Premise and Office Interoperability in September 2011 and Office 365 Introduction in November 2011. In recognition of his high-quality real-world technical excellence with the community and with Microsoft, David received the prestigious Microsoft Most Valuable Professional (MVP) Award in April 2011.
This entry was posted in Microsoft Exchange Server 2010, Microsoft Lync Server 2010. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s