Thursday, December 25, 2014

EighTwOne: Configuring IM Integration

Anyone who has configured Exchange 2013 IM integration with Lync Server at some point has to modify the web.config file on the Mailbox servers to configure OWA with the proper certificate for enabling IM. Another thing is that when you have configured this and you apply a Cumulative Update to Exchange 2013, these settings will be overwritten in the web.config, and you need to reapply those changes to the web.config file. This is where the script Configure-IMIntegration.ps1 might come in handy.


Requirements
Using the script requires Exchange 2013 and Lync Server. You need to provide the Lync pool and the Mailbox server you want to configure needs to have a valid certificate assigned to UM services. Note that the script does not perform the following steps:



  • It does not perform the required steps for integration in Lync Server, e.g. is does not configure Exchange as a trusted application.

  • It does not configure Lync Server as an partner application for Exchange (Configure-EnterprisePartnerApplication.ps1 script).


Usage


The script Configure-IMIntegration.ps1 uses the following syntax:


.\Configure-IMIntegration.ps1 [-Server <String>] -PoolFQDN <String> [-AllCAS] [-AllMailbox]


A quick walk-through on the parameters and switches:



  • Server specifies the server to configure. When omitted, it will configure the local server. This parameter is mutually exclusive with AllMailbox.

  • AllMailbox switch specifies to configure all Mailbox servers. This switch is mutually exclusive with Server.

  • AllCAS switch specifies to enable IM integration on all Client Access servers.

  • PoolFQDN specifies the FQDN of the Lync Pool to use. This parameter is required.


So, suppose you want to quickly reconfigure IM integration on a Mailbox server after applying a Cumulative Update, you can use:


.\Configure-IMIntegration.ps1 -PoolFQDN lync.contoso.com –Server exchange01.contoso.com


image


Or, you can quickly configure Mailbox servers and CAS servers for IM integration after performing the required steps to configure the trusted application settings and installing and assigning the certificate for UM:


.\ Configure-IMIntegration.ps1 -PoolFQDN lync.contoso.com -AllMaibox –AllCAS


image


Note that the script will skip Mailbox servers for which it cannot find a valid UM certificate assignment. In the example above, the CAS servers had already been enabled for IM.


Download

You can download the script from the TechNet Gallery here.


Feedback

Feedback is welcomed through the comments. If you got scripting suggestions or questions, do not hesitate using the contact form.


Revision History
See TechNet Gallery page.




Filed under: Exchange 2013 Tagged: Configuring, CU, Script



from Exchange News Full Article

No comments:

Post a Comment