Configuring Lync 2013 and Exchange 2013 as partner applications

After configuring OAuth and the certificates, we must now instruct Lync 2013 and Exchange 2013 to be partner applications. This will allow Lync 2013 and Exchange 2013 to communicate and interoperate securely.

How to do it...

Here is how we configure Lync 2013 and Exchange 2013 as partner applications.

Configuring Lync 2013 to be a partner application on Exchange 2013

Exchange 2013 comes with a script to quickly do this configuration. The only thing you need to know and understand is which URL you will have to configure when running the script on Exchange. The URL should have the FQDN of your Lync pool and look like https://lyncpool.domain.com/metadata/json/1.

Note

The Lync pool name must be on the web certificate used on the Lync Front End server. If the Lync pool is a standard pool, the name of the pool is the server FQDN.

So now, let's explain how to run the script. First, open the Exchange Management Shell and browse to the scripts directory under the Exchange installation path (that is, C:Program FilesMicrosoftExchange ServerV15Scripts). Then, run the following script:

.Configure-EnterprisePartnerApplication.ps1 -AuthMetaDataUrl https://lyncpool.domain.com/metadata/json/1 -ApplicationType Lync

After running the script, you need to perform an IIS reset on your Exchange Client Access servers.

Configuring Exchange 2013 to be a partner application on Lync 2013

Now, we need to configure Lync 2013 to have Exchange 2013 as a partner application. In this case, we also need to know which URL we will include on the Lync cmdlet that will configure the integration. The URL should point to the autodiscover URI configured on the Exchange Client Access servers and look like https://autodiscover.domain.com/autodiscover/metadata/json/1.

Now that we have explained the URL, let's run the command.

Open the Lync Management Shell and run the following cmdlet:

New-CsPartnerApplication -Identity Exchange -ApplicationTrustLevel Full -MetadataUrl https://autodiscover.domain.com/autodiscover/metadata/json/1

We have now configured both platforms as partner applications.

Test OAuth and the partner applications

Once all the previous configurations are completed, we can use a test cmdlet provided by Lync to make sure that the integration is working.

The test cmdlet that we will use is the following:

Test-CsExStorageConnectivity -SipUri sip:[email protected]

The SIPUri should be the SIP address of the user with a mailbox in Exchange 2013. The preceding cmdlet will try and write on the conversation history folder of the user's mailbox, and if the command runs successfully, it indicates that you have both OAuth and the partner applications well configured.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.118.189.251