(Re)configuring IM Integration

powershellAnyone 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 (read: nuisance) is that when you have configured IM integration and you apply a Cumulative Update to Exchange 2013, the web.config will be overwritten, in which case 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. The script will modify the web.config remotely using the system share (e.g. C$), using the location of the Exchange installation, and uses WMI to recycle the OWA Application Pool in IIS. It will create a backup of the web.config before modifying it.

Note that the script does not perform the following steps:

  • It does not perform the Lync Server parts to configure IM integration, e.g. configure Exchange as a trusted application.
  • It does not configure Lync Server as an partner application for Exchange (Configure-EnterprisePartnerApplication.ps1).

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 -AllMailbox –AllCAS

image

Note that the script will skip Mailbox servers for which it cannot find a valid UM certificate assignment. Also, 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.

Lync Conference 2013 Recordings

Microsoft-Lync-2013-Logo_19218C3C[1]A quick heads-up for everyone working with or interested in Lync Server 2013.

In February, the inaugural Lync Conference was held in San Diego. The conference not only had excellent sessions on Lync and UC related topics but also featured our The UC Architects monster prize draw.

Now, if you were unable to attend – like me – you missed out on but could buy the content for $199 as of March.Fortunately, Microsoft has decided to make presentations and session videos available for free.

You can download the slidedecks and videos here.

Exchange/Lync/Office/Sharepoint 2013 Visio Stencil Available

Microsoft published the integral Visio stencil for Exchange 2013 and Lync 2013. The stencil contains a whopping 317 icons to aid you in developing visual communications on design or architecture with regards to Exchange, Lync, Sharepoint or Office 2013.

image

To use the stencil, drop a copy in the “My Shapes” folder located in your “My Documents” folder and activate it using the Shapes window selecting More Shapes >My Shapes > FLEX_Stencil_112012 .

Stencils get updated frequently, for the latest versions with link, consult the toolkit page here.

The UC Architects Podcast S01E11

The 11th episode of The UC Architects is online. The UC Architects is a bi-weekly podcast on Unified Communications in the Microsoft domain, i.e. Exchange and Lync, or related subjects.

This episode is hosted by Pat Richard, who’s joined by Ståle Hansen, Johan Veldhuis, Dave Stork and yours truly. Special guests are Lync MCM Kevin Peters and Lync MVP Matt Landis.

Amongst the topics discussed in this episode are:

  • Lync 2010 Cumulative Update 7 (CU7, October 2012);
  • Lync VDI, SBA, SBC;
  • Availability of Wave 15 products for MSDN/TechNet and Volume license customers;
  • Microsoft Surface RT;
  • Building your own Exchange lab;
  • Exchange 2013 and Lync 2013 exams.

You can directly listen or download the episode or subscribe to the podcasts using iTunes, Zune or RSS.

Exchange 2013 RTM available! (and Lync 2013, Office 2013, ..)

If you’ve got a TechNet or MSDN subscription, you can get the RTM bits of Exchange Server 2013, Lync Server 2013, Office 2013 Professional Plus and Sharepoint 2013 NOW!

With the RTM bits available, you can start testing the product itself as well as compatibility with 3rd party products or in-house developed solutions. Be advised that a schema update is required to support Exchange Server 2013.

Finally, the updates for Exchange Server 2007 and Exchange Server 2010 required for co-existence are still not available. Exchange 2010 SP3 is expected first half of 2013; no details have been disclosed on the update for Exchange Server 2007.

TechEd Australia 2012 sessions

With the TechEd Australia 2012 event behind us, recordings and slide decks of finished sessions are becoming available online. Here’s an overview of the Exchange-related sessions:

Lync related sessions:

Note: Not all sessions are available online yet but I expect they will be at a later time so check back later.

Previews Exchange 2013 and Lync 2013 are here!

Today, Microsoft unleashed the (Wave 15) previews for the following products: