As continuing on Part 6, we are now going to look at what is required when integrating Microsoft Exchange 2013 with Lync 2013 for Archiving. Before enabling Archiving with Exchange you need to ensure all the pre-requisites for integrating are completed.
The first statement from Microsoft is;
The autodiscover service must be configured before you can integrate Lync Server 2013 and Exchange 2013. You can verify whether or not the autodiscover service has been configured by running the following command from the Exchange Management Shell and checking the value of the AutoDiscoverServiceInternalUri property
Running the cmdlet Get-ClientAccessServer | Select-Object Name, AutoDiscoverServiceInternalUri | Format-List
If this value is blank, you must assign a URI to the autodiscover service. Typically this URI will look similar to this:
You can assign the autodiscover URI by running a command similar to this:
Get-ClientAccessServer | Set-ClientAccessServer -AutoDiscoverServiceInternalUri "https://autodiscover.lyncme.local/autodiscover/autodiscover.xml"
We need now to ensure Lync Server understands that the Exchange Autodiscover Path for OAuth, this is done by running a Management Shell command on your Lync Server.
So you will now need to launch the Lync Management Shell and enter Set-CsOAuthConfiguration -Identity global -ExchangeAutodiscoverUrl https://autodiscover.lyncme.local/autodiscover/autodiscover.svc
Last but not least you will need a DNS Record for Autodiscover.lyncme.local pointing to your Exchange Server so for example ;
This information can be found on Technet http://technet.microsoft.com/en-us/library/jj721919.aspx
Microsoft Lync Server 2013 (note that, depending on your setup and configuration, you might not need to complete all of these tasks)
- Enable Exchange archiving by modifying your Lync Server archiving configuration settings. This step is required for all deployments.
- Enable archiving for internal and/or external communications for your users. This step is required for all deployments.
- Configure the ExchangeArchivingPolicy property for each user. This step is only required in Lync Server and Exchange are located in different forests.
So our first step will be to enable Exchange Archiving and in order to do this we need to launch the Lync Management Shell and run the following command
Set-CsArchivingConfiguration -Identity “global” -EnableArchiving ImOnly -EnableExchangeArchiving $True
As you can imagine this only enables archiving for ImOnly so what other options do you have?
- ImOnly. Only instant message transcripts are archived. If Exchange archiving is enabled these transcripts will be archived in Exchange 2013. If Exchange archiving is disabled then these transcripts will be archived to Lync Server.
- ImAndWebConf. Both instant message transcripts and Web conferencing transcripts are archived. If Exchange archiving is enabled these transcripts will be archived in Exchange 2013. If Exchange archiving is disabled then these transcripts will be archived to Lync Server.
- If you didnt fancy doing this by Powershell you could also use do it via Lync Control Panel
Monitoring and Archiving –> Archiving Configuration –> Edit the Global Policy
So continuing on from enabling archiving via Powershell we now need specify what we want to archive, whether it will be internal, external or both.
This can be achieved by running the following powershell command Set-CsArchivingPolicy -Identity “global” -ArchiveInternal $True -ArchiveExternal $True if you want to archive everything and again you use Lync Control Panel
Monitoring and Archiving –> Archiving Policy –> Edit the Global Policy
This completes the process of setting up Exchange Archiving, you can found more information about Archiving at http://technet.microsoft.com/en-us/library/jj679896.aspx