Link to home
Start Free TrialLog in
Avatar of Gert Labuschagne
Gert LabuschagneFlag for South Africa

asked on

Skype for Business 2019 on-premise voicemail error

Trying to get Skype for Business 2019 hosted voicemail policy activated and working. When using Skype for Business PowerShell with Set-CsHostedVoicemailPolicy -Identity Global -Description "Global Cloud Voicemail Policy" -Destination exap.um.outlook.com -Organization nwucloud.onmicrosoft.com -Tenant “331c86e7-d032-436f-bc53-f2552d031012” we are getting an error saying "Set-CsHostedVoiceMailPolicy: A parameter cannot be found that matches parameter name Tenant". We have confirmed that the tenant ID is correct but cannot get Skype to accept the parameter for VoiceMail to work. We do not have Exchange on-premise and have Skype for Business 2019 on-premise connected in Hybrid with Exchange Online. All other integration is working. How can we get the hosted voicemail to work?User generated image
Avatar of ITguy565
ITguy565
Flag of United States of America image

What happens when you do the following:

#Please Post the Output of this command
get-CsHostedVoiceMailPolicy -Identity Global|GM -Force

#Please Post the Output of this command *Sanitize  if necessary*
get-CsHostedVoiceMailPolicy -identity Global

Open in new window

Avatar of Gert Labuschagne

ASKER

Hi, please see below:

PS C:\Users\skype4b> get-CsHostedVoiceMailPolicy -Identity Global|GM


   TypeName: Microsoft.Rtc.Management.WritableConfig.Policy.Voice.HostedVoicemailPolicy

Name                MemberType Definition
----                ---------- ----------
Clone               Method     System.Object ICloneable.Clone()
Equals              Method     bool Equals(System.Object obj)
GenerateNewXElement Method     void IXsdGeneratedClass.GenerateNewXElement()
GetClassOrdering    Method     int IXsdGeneratedClass.GetClassOrdering(string name)
GetHashCode         Method     int GetHashCode()
GetType             Method     type GetType()
GetXsAnyAttributes  Method     string IXsAnyInformation.GetXsAnyAttributes()
GetXsAnyElementsXml Method     string IXsAnyInformation.GetXsAnyElementsXml()
HasClassOrdering    Method     bool IXsdGeneratedClass.HasClassOrdering(string name)
Normalize           Method     void INormalizable.Normalize(System.Object info)
ProcessXElement     Method     void IXsdReadOnlyGeneratedClass.ProcessXElement()
SetXsAnyAttributes  Method     void IXsAnyInformation.SetXsAnyAttributes(string newAttributes)
SetXsAnyElementsXml Method     void IXsAnyInformation.SetXsAnyElementsXml(string newXml)
ToString            Method     string ToString()
Anchor              Property   Microsoft.Rtc.Management.Core.IScopeAnchor Anchor {get;}
Description         Property   string Description {get;set;}
Destination         Property   string Destination {get;set;}
Element             Property   System.Xml.Linq.XElement Element {get;}
Identity            Property   string Identity {get;}
Key                 Property   Microsoft.Rtc.Management.ScopeFramework.AnchoredXmlKey Key {get;}
Organization        Property   string Organization {get;set;}
ScopeClass          Property   Microsoft.Rtc.Management.Core.ScopeClass ScopeClass {get;}
TypedIdentity       Property   Microsoft.Rtc.Management.Xds.IXdsIdentity TypedIdentity {get;set;}

PS C:\Users\skype4b> get-CsHostedVoiceMailPolicy -identity Global


Identity     : Global
Description  : Global Cloud Voicemail Policy
Destination  : exap.um.outlook.com
Organization : nwucloud.onmicrosoft.com
Description

This cmdlet creates a policy that configures a user account enabled for Skype for Business Server to use an Exchange Unified Messaging (UM) hosted voice mail service. The policy determines how to route unanswered calls to the user to a hosted Exchange UM service.
A user must be enabled for Exchange UM hosted voice mail for this policy to take effect. You can call the Get-CsUser cmdlet and check the HostedVoiceMail property to determine whether a user is enabled for hosted voice mail. (A value of True means the user is enabled.)
Policies created at the site scope will be automatically assigned to the users homed on those sites. Policies created at the per-user scope must be assigned to users or contact objects with the Grant-CsHostedVoicemailPolicy cmdlet.

Reference: https://docs.microsoft.com/en-us/powershell/module/skype/new-cshostedvoicemailpolicy?view=skype-ps

New-CsHostedVoicemailPolicy
   [-Identity] <XdsIdentity>
   [-Description <String>]
   [-Destination <String>]
   [-Organization <String>]
   [-Force]
   [-InMemory]
   [-WhatIf]
   [-Confirm]
   [-Tenant <Guid>]
   [<CommonParameters>]

Open in new window

Thank you. Hosted voicemail has been enabled but when a person phones the line rings and then disconnects the call instead of going to voicemail.

PS C:\Users\skype4b> Get-CsUser "Wimpie De Klerk1"


Identity                    : CN=40000031,OU=8512,OU=P,OU=Users,OU=PCM,DC=staff365,DC=msfed,DC=nwu,DC=ac,DC=za
VoicePolicy                 :
VoiceRoutingPolicy          :
ConferencingPolicy          :
PresencePolicy              :
DialPlan                    :
LocationPolicy              :
ClientPolicy                :
ClientVersionPolicy         :
ArchivingPolicy             :
ExchangeArchivingPolicy     : Uninitialized
PinPolicy                   :
ExternalAccessPolicy        :
MobilityPolicy              :
UserServicesPolicy          :
CallViaWorkPolicy           :
ThirdPartyVideoSystemPolicy :
HostedVoiceMail             : True
HostedVoicemailPolicy       :
Hi, I was wondering. With previous versions of Skype for Business and Exchange Online, we had to configure Exchange Online Unified Messaging. Now with Skype for Business 2019 this looks like it is no longer needed to be done. Looking at the command Set-CsHostedVoicemailPolicy it still connects to exap.um.outlook.com which is the Exchange Online Unified Messaging and not Hosted Voicemail. Is their anything for Skype for Business 2019 on-prem that needs to be configured in the Exchange Online admin centre to get Voicemail to work?
@Gert,

I am unsure of the answer to that and I do not currently have access to Skype in either version. We are going to have to wait for another expert to address that question.
This question needs an answer!
Become an EE member today
7 DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform.
View membership options
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.