Configure Cloud Voicemail service for on-premises users
Skype for Business Online was retired on July 31, 2021. If you haven't upgraded your Skype for Business Online users yet, they will be automatically scheduled for an assisted upgrade. If you want to upgrade your organization to Teams yourself, we strongly recommend that you begin planning your upgrade path today. Remember that a successful upgrade aligns technical and user readiness, so be sure to leverage our upgrade guidance as you navigate your journey to Teams.
This article describes how to configure Microsoft Cloud Voicemail service for your Skype for Business on-premises users.
This article assumes that you already have Skype for Business Server deployed in a supported topology, and that you have met the prerequisites for setting up hybrid connectivity.
For more information about the benefits, planning considerations, and requirements for implementing Cloud Voicemail, see Plan Cloud Voicemail service.
Configuring Cloud Voicemail involves the following tasks:
Ensure that you have met the prerequisites as described in Plan Cloud Voicemail service.
Configure Cloud Voicemail as the hosting provider on the Front End Server as described in this article.
Configure a hosted voicemail policy as described in this article.
Assign a hosted voicemail policy as described in this article.
Enable a user for Cloud Voicemail as described in this article.
Configure Cloud Voicemail as the hosting provider
You configure Cloud Voicemail as the hosting provider on a Front End Server by using the New-CsHostingProvider cmdlet with the following parameters:
Identity specifies a unique string value identifier for the hosting provider that you are creating; for example, Cloud Voicemail.
Enabled indicates whether the network connection between your domain and the hosting provider is enabled. This parameter must be set to True.
EnabledSharedAddressSpace indicates whether the hosting provider will be used in a shared SIP address space scenario. This parameter must be set to True.
HostsOCSUsers indicates whether the hosting provider is used to host Skype for Business Server accounts. This parameter must be set to False.
ProxyFQDN specifies the fully qualified domain name (FQDN) for the proxy server used by the hosting provider; for example, proxyserver.contoso.com. Contact your hosting provider for this information. This value cannot be modified. If the hosting provider changes its proxy server, you will need to delete and then re-create the entry for that provider.
IsLocal indicates whether the proxy server used by the hosting provider is contained within your Skype for Business Server topology. This parameter must be set to False.
For example, in the Skype for Business Management shell, the following cmdlet configures Cloud Voicemail as the hosting provider:
New-CsHostingProvider -Identity "Exchange Online" -Enabled $True -EnabledSharedAddressSpace $True -HostsOCSUsers $False -ProxyFqdn "exap.um.outlook.com" -IsLocal $False -VerificationLevel UseSourceVerification
Configure a hosted voicemail policy
To ensure that voicemail for your organization is routed to the Cloud Voicemail service, you must configure a hosted voicemail policy for your organization. In many cases, only one hosted voicemail policy is required, and you can modify the global policy to meet all your needs. If your organization requires multiple hosted voicemail policies, you can add policies by using the new-cshostedvoicemailpolicy cmdlet.
To modify the global policy, run the following command in the Skype for Business Server management shell after updating your Organization and TenantID:
Set-CsHostedVoicemailPolicy -Identity Global -Description "Global Cloud Voicemail Policy" -Destination exap.um.outlook.com -Organization YourDefaultDomain.onmicrosoft.com
Destination specifies the fully qualified domain name (FQDN) of the hosted Cloud Voicemail service. This value should be set to exap.um.outlook.com.
Organization is the default domain assigned to your tenant. You can retrieve this information by having the tenant admin log in to office.com, click on the Admin Center app, navigate to Setup on the left, and click Domains. For example: mytenant.onmicrosoft.com.
The Organization name is also the Default Domain name in Microsoft 365 or Office 365.
To ensure that a hosted voicemail policy was created successfully, run the following command:
Assign a hosted voicemail policy
By default, the Global hosted voicemail policy is assigned to all users. If you use a different policy, before enabling users for hosted voicemail, you must first grant users the desired hosted voicemail policy by using the Grant-CSHostedVoicemailPolicy cmdlet.
For example, the following command assigns a non-Global hosted voicemail policy to a user:
Get-CsUser -Identity "User1" | Grant-CsHostedVoicemailPolicy -PolicyName "Tag:CloudVoiceMailUsers"
Enable a user for Cloud Voicemail
To enable a user’s voicemail calls to be routed to Cloud Voicemail, you use the Set-CsUser cmdlet with the HostedVoiceMail parameter.
For example, the following command enables a user account for Cloud Voicemail:
Set-CsUser -Identity "User1" -HostedVoiceMail $True
The cmdlet verifies that a Cloud Voicemail policy--at the global, site, or user level--applies to this user. If no policy applies, the cmdlet fails.
The next example disables a user account for Cloud Voicemail:
Set-CsUser -Identity "User1" -HostedVoiceMail $False
The cmdlet verifies that no hosted voicemail policy--at the global, site, or user level--applies to this user. If a policy does apply, the cmdlet fails.
Users must be enterprise-voice enabled to use the Microsoft Cloud Voicemail Service.
Submit and view feedback for