Topic Last Modified: 2011-11-23
When you connect a Lync Server to Exchange Online UM, you are providing the information that both Lync Server 2010 and UM require to communicate with each other.
The Lync Server 2010 documentation contains the following articles, which can help you direct Lync Server to Exchange Online UM:
- Providing Lync Server 2010 Users Voice Mail on Hosted Exchange UM This topic will help you configure your Lync Server correctly.
- Configure the Edge Server for Integration with Hosted Exchange UM This topic contains essential information about how to create a hosting provider object, which is required.
In the Lync Server Management Shell, use the Set-CsHostedVoiceMailPolicy cmdlet to modify the appropriate hosted voice mail policy, specifying the Destination parameter as exap.um.outlook.com and the Organization parameter as the fully qualified domain name (FQDN) of the Exchange Online authoritative routing domain as shown in the following example:
In this example, the global hosted voice mail policy is modified. Because the Identity parameter is left unspecified, the default is assumed. For more information, see Manage Hosted Voice Mail Policies.
PS> Set-CsHostedVoiceMailPolicy -Destination exap.um.outlook.com -Organization contoso.com
Create a Lync contact to represent the Exchange Online UM dial plan by using the Lync Server cmdlet New-CsExUMContact. Set the DisplayNumber parameter to be the same value as the E.164 routing number you specified in the Exchange Online UM dial plan as shown in the following example:
Note that you can use a back tick character (
PS> New-CsExUMContact -DisplayNumber +14255551234 -SipAddress sip:email@example.com ` >>-RegistrarPool edgepool.lync.contoso.com -OU "OU=ExUmContacts,DC=contoso,DC=com"
`) at the end of a line to continue the command on the next line. For more information, see Create Contact Objects for Hosted Exchange UM.
In Lync Server, associate a hosted voice mail policy with the Lync contact that you created to represent the UM dial plan. If you are using the default global hosted voice mail policy, you don’t need to specify the name of the policy using the PolicyName parameter as shown in the following example:
PS> Grant-CsHostedVoiceMailPolicy -Identity firstname.lastname@example.org
Associate the Lync contact with the Exchange Online UM dial plan you created earlier.
Return to the Checklist: Connect Lync Server 2010 to Exchange Online UM for the next steps.