Thursday, June 28, 2018
Office 365 Voicemail and Lync On Prem Intergration
Office 365 Voicemail and Lync On Prem Intergration
I have just completed an intergratrion for a client where they have Exchange Online (Office365) and Lync Server 2010 On-Prem and wanted voicemail. Microsoft makes this process very simple but some things always get missed when reading the Microsoft Papers on this stuff.
When configuring federation to Office365, you must have an Edge server/pool that is currently configured to federate.
On your edge server open Lync PowerShell and type:
Set-CsAccessEdgeConfiguration -UseDnsSrvRouting -AllowFederatedUsers 1 -EnablePartnerDiscovery 0
Then create a new hosting provider
New-CsHostingProvider -Identity Domain.com -Enabled $True -EnabledSharedAddressSpace $True -HostsOCSUsers $False -ProxyFQDN "edge.domain.com" -IsLocal $False -VerficationLevel UseSourceVerificationNext enable your Lync users
Set-CsUser -HostedVoiceMail $True -Identity "domain.localusername"Next in your Office365 Admin Page open OWA:
- Select Manage My Organization > Phone & Voice > UM Dial Plans.
- Under UM Dial Plans, click New.
- Under Name, enter a name that is unique in your organization. It can be up to 49 characters long.
- Enter the following information for the dial plan:
- Extension length Enter the number of digits in the telephone extensions assigned to your users in Lync.
- Dial plan URI type Use SIP URI type: name@domain.com
- Audio language Select the language to use for automated greetings, phone navigation prompts, Voice Mail Preview, and Outlook Voice Access.
Note Voice Mail Preview isnt available in all languages. - Country/Region code Enter the numeric code for the country or region of this dial plan so that UM can dial domestic and international numbers correctly. For example, if your UM dial plan is in the United States, the code is 1. This field accepts 1 to 4 digits.
- Click Save to create the UM dial plan.
- Select the UM dial plan and click Details to configure dial codes, Outlook Voice Access, voice mail settings, and dialing rules.
Set-CsHostedVoiceMailPolicy -Destination exap.um.outlook.com -Organization domain.com
Next Create a Lync contact to represent the Exchange Online UM dial plan by using the Lync Server cmdlet New-CsExUMContact.
New-CsExUMContact -DisplayNumber +14255551234 -SipAddress sip:exumsa@domain.com -RegistrarPool edgepool.contoso.com -OU "OU=ExUmContacts,DC=domain,DC=local"
Next set the default voicemail policy to your newly created EX UM Contact
Grant-CsHostedVoiceMailPolicy -Identity exumsa@domain.com
Now test it, give Lync a few minutes to populate the voicemail to the user.
Let me know if you have any issues or questions, ill be glad to assist.