Configuring Unified Messaging on Microsoft Exchange Server to work with Lync Server 2013


Topic Last Modified: 2012-10-11


If you want to use Exchange Unified Messaging (UM) to provide call answering, Outlook Voice Access, or auto-attendant services for Enterprise Voice users, read Planning for Exchange Unified Messaging integration in Lync Server 2013 in the Planning documentation, and then follow the instructions in this section.

To configure Exchange Unified Messaging (UM) to work with Enterprise Voice, you’ll need to perform the following tasks:

  • Configure certificates on the server running Exchange Unified Messaging (UM) services


    Add all Client Access and Mailbox servers to all UM SIP URI dial plans. If not, outbound call routing won’t work as expected.

  • Create one or more UM SIP URI dial plans, along with the subscriber access phone numbers, as needed, and then create corresponding Lync Server dial plans.

  • Use the exchucutil.ps1 script to:

    • Create UM IP gateways.

    • Create UM hunt groups.

    • Grant Lync Server 2013 permission to read UM Active Directory Domain Services objects.

  • Create a UM auto-attendant object.

  • Create a subscriber access object.

  • Create a SIP URI for each user and associating users with a UM SIP URI dial plan.

Requirements and Recommendations

Before you begin, the documentation in this section assumes that you have deployed the following Exchange 2013 roles: Client Access and Mailbox. In Microsoft Exchange Server 2013, Exchange UM runs as a service on these servers.

For details about deploying Exchange 2013, see the Exchange 2013 TechNet Library at

Also note the following:

  • If Exchange UM is installed in multiple forests, the Exchange Server integration steps must be performed for each UM forest. In addition, each UM forest must be configured to trust the forest in which Lync Server 2013 is deployed, and the forest in which Lync Server 2013 is deployed must be configured to trust each UM forest.

  • Integration steps are performed on both the Exchange Server roles where Unified Messaging services are running, and on the server running Lync Server 2013. You should perform the Exchange Server Unified Messaging integration steps before you perform the Lync Server 2013 integration steps.


    To see which integration steps are performed on which servers and by which administrator roles, see Deployment process for integrating on-premises Unified Messaging and Lync Server 2013.

The following tools must be available on each server running Exchange UM:

  • Exchange Management Shell

  • The script exchucutil.ps1, which performs the following tasks:

    • Creates a UM IP gateway for each Lync Server 2013.

    • Creates a hunt group for each gateway. The pilot identifier of each hunt group specifies the UM SIP URI dial plan used by the Front End pool or Standard Edition server that is associated with the gateway.

    • Grants Lync Server 2013 permission to read Exchange UM objects in Active Directory Domain Services.