How to disable voicemail in Teams?

%3CLINGO-SUB%20id%3D%22lingo-sub-1388790%22%20slang%3D%22en-US%22%3EHow%20to%20disable%20voicemail%20in%20Teams%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1388790%22%20slang%3D%22en-US%22%3E%3CP%3EHi%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI'm%20trying%20to%20disable%20the%20voicemail%20function%20in%20our%20Teams%2C%20but%20after%20several%20changes%20is%20still%20active.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EMy%20first%20attempt%20was%20using%20the%20admin%3A%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22voicemail.png%22%20style%3D%22width%3A%20940px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F191610iFD85CD98FF1B8115%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%22voicemail.png%22%20alt%3D%22voicemail.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThe%20second%20try%20was%20with%20PowerShell%3A%3CBR%20%2F%3E%3CBR%20%2F%3E%3CSPAN%3EPS%20C%3A%5CWINDOWS%5Csystem32%26gt%3B%20Import-Module%20%22C%3A%5CProgram%20Files%5CCommon%20Files%5CSkype%20for%20Business%20Online%5CModules%5C%3C%2FSPAN%3E%3CSPAN%3ESkypeOnlineConnector%5C%3C%2FSPAN%3E%3CSPAN%3ESkypeOnlineConnector.psd1%22%3C%2FSPAN%3E%3CBR%20%2F%3E%3CSPAN%3EPS%20C%3A%5CWINDOWS%5Csystem32%26gt%3B%20Import-Module%20SkypeOnlineConnector%3C%2FSPAN%3E%3CBR%20%2F%3E%3CSPAN%3EPS%20C%3A%5CWINDOWS%5Csystem32%26gt%3B%20%24userCredential%20%3D%20Get-Credential%3C%2FSPAN%3E%3CBR%20%2F%3E%3CSPAN%3EPS%20C%3A%5CWINDOWS%5Csystem32%26gt%3B%20%24sfbSession%20%3D%20New-CsOnlineSession%20-Credential%20%24userCredential%20-OverrideAdminDomain%20%22%3C%2FSPAN%3E%3CA%20href%3D%22http%3A%2F%2Fdevzapiens.onmicrosoft.com%2F%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Exxxx.onmicrosoft.com%3C%2FA%3E%3CSPAN%3E%22%3C%2FSPAN%3E%3CBR%20%2F%3E%3CSPAN%3EPS%20C%3A%5CWINDOWS%5Csystem32%26gt%3B%20Import-PSSession%20%24sfbSession%3C%2FSPAN%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3CSPAN%3EModuleType%20Version%20%26nbsp%3B%20%26nbsp%3BName%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3BExportedCommands%3C%2FSPAN%3E%3CBR%20%2F%3E%3CSPAN%3E----------%20-------%20%26nbsp%3B%20%26nbsp%3B----%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B----------------%3C%2FSPAN%3E%3CBR%20%2F%3E%3CSPAN%3EScript%20%26nbsp%3B%20%26nbsp%3B%201.0%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3Btmp_meci30o2.kkl%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%7BClear-%3C%2FSPAN%3E%3CSPAN%3ECsOnlineTelephoneNumberReserva%3C%2FSPAN%3E%3CSPAN%3Etion%2C%20ConvertTo-JsonForPSWS%2C%20Disabl...%3C%2FSPAN%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3CSTRONG%3EPS%20C%3A%5CWINDOWS%5Csystem32%26gt%3B%20Get-CsTeamsCallingPolicy%3C%2FSTRONG%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3CSPAN%3EIdentity%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%3A%20Global%3C%2FSPAN%3E%3CBR%20%2F%3E%3CSPAN%3EDescription%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%3A%3C%2FSPAN%3E%3CBR%20%2F%3E%3CSPAN%3EAllowPrivateCalling%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%3A%20True%3C%2FSPAN%3E%3CBR%20%2F%3E%3CSPAN%3EAllowWebPSTNCalling%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%3A%20True%3C%2FSPAN%3E%3CBR%20%2F%3E%3CSTRONG%3EAllowVoicemail%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%3A%20UserOverride%3C%2FSTRONG%3E%3CBR%20%2F%3E%3CSPAN%3EAllowCallGroups%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%3A%20True%3C%2FSPAN%3E%3CBR%20%2F%3E%3CSPAN%3EAllowDelegation%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%3A%20True%3C%2FSPAN%3E%3CBR%20%2F%3E%3CSPAN%3EAllowCallForwardingToUser%20%26nbsp%3B%3A%20True%3C%2FSPAN%3E%3CBR%20%2F%3E%3CSPAN%3EAllowCallForwardingToPhone%20%3A%20True%3C%2FSPAN%3E%3CBR%20%2F%3E%3CSPAN%3EPreventTollBypass%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%3A%20False%3C%2FSPAN%3E%3CBR%20%2F%3E%3CSPAN%3EBusyOnBusyEnabledType%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%3A%20Disabled%3C%2FSPAN%3E%3CBR%20%2F%3E%3CSPAN%3EMusicOnHoldEnabledType%20%26nbsp%3B%20%26nbsp%3B%20%3A%20Enabled%3C%2FSPAN%3E%3CBR%20%2F%3E%3CSPAN%3ESafeTransferEnabled%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%3A%20Disabled%3C%2FSPAN%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3CSTRONG%3EPS%20C%3A%5CWINDOWS%5Csystem32%26gt%3B%20Set-CsTeamsCallingPolicy%20-Identity%20Global%20-Allowvoicemail%20AlwaysDisabled%3C%2FSTRONG%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3CSTRONG%3EPS%20C%3A%5CWINDOWS%5Csystem32%26gt%3B%20Get-CsTeamsCallingPolicy%3C%2FSTRONG%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3CSPAN%3EIdentity%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%3A%20Global%3C%2FSPAN%3E%3CBR%20%2F%3E%3CSPAN%3EDescription%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%3A%3C%2FSPAN%3E%3CBR%20%2F%3E%3CSPAN%3EAllowPrivateCalling%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%3A%20True%3C%2FSPAN%3E%3CBR%20%2F%3E%3CSPAN%3EAllowWebPSTNCalling%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%3A%20True%3C%2FSPAN%3E%3CBR%20%2F%3E%3CSTRONG%3EAllowVoicemail%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%3A%20AlwaysDisabled%3C%2FSTRONG%3E%3CBR%20%2F%3E%3CSPAN%3EAllowCallGroups%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%3A%20True%3C%2FSPAN%3E%3CBR%20%2F%3E%3CSPAN%3EAllowDelegation%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%3A%20True%3C%2FSPAN%3E%3CBR%20%2F%3E%3CSPAN%3EAllowCallForwardingToUser%20%26nbsp%3B%3A%20True%3C%2FSPAN%3E%3CBR%20%2F%3E%3CSPAN%3EAllowCallForwardingToPhone%20%3A%20True%3C%2FSPAN%3E%3CBR%20%2F%3E%3CSPAN%3EPreventTollBypass%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%3A%20False%3C%2FSPAN%3E%3CBR%20%2F%3E%3CSPAN%3EBusyOnBusyEnabledType%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%3A%20Disabled%3C%2FSPAN%3E%3CBR%20%2F%3E%3CSPAN%3EMusicOnHoldEnabledType%20%26nbsp%3B%20%26nbsp%3B%20%3A%20Enabled%3C%2FSPAN%3E%3CBR%20%2F%3E%3CSPAN%3ESafeTransferEnabled%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%3A%20Disabled%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EAfter%20these%20changes%2C%20when%20I%20try%20to%20call%20a%20collegue%2C%20the%20voicemail%20is%20still%20enabled.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EHow%20can%20I%20disable%20this%20function%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1388790%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EMicrosoft%20Teams%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1388887%22%20slang%3D%22en-US%22%3ERe%3A%20How%20to%20disable%20voicemail%20in%20Teams%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1388887%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F585793%22%20target%3D%22_blank%22%3E%40vcima1210%3C%2FA%3E%26nbsp%3B%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fmicrosoftteams%2Fset-up-phone-system-voicemail%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fmicrosoftteams%2Fset-up-phone-system-voicemail%3C%2FA%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E
New Contributor

Hi,

 

I'm trying to disable the voicemail function in our Teams, but after several changes is still active.

 

My first attempt was using the admin:

 

voicemail.png

 

The second try was with PowerShell:

PS C:\WINDOWS\system32> Import-Module "C:\Program Files\Common Files\Skype for Business Online\Modules\SkypeOnlineConnector\SkypeOnlineConnector.psd1"
PS C:\WINDOWS\system32> Import-Module SkypeOnlineConnector
PS C:\WINDOWS\system32> $userCredential = Get-Credential
PS C:\WINDOWS\system32> $sfbSession = New-CsOnlineSession -Credential $userCredential -OverrideAdminDomain "xxxx.onmicrosoft.com"
PS C:\WINDOWS\system32> Import-PSSession $sfbSession

ModuleType Version    Name                                ExportedCommands
---------- -------    ----                                ----------------
Script     1.0        tmp_meci30o2.kkl                    {Clear-CsOnlineTelephoneNumberReservation, ConvertTo-JsonForPSWS, Disabl...

PS C:\WINDOWS\system32> Get-CsTeamsCallingPolicy

Identity                   : Global
Description                :
AllowPrivateCalling        : True
AllowWebPSTNCalling        : True
AllowVoicemail             : UserOverride
AllowCallGroups            : True
AllowDelegation            : True
AllowCallForwardingToUser  : True
AllowCallForwardingToPhone : True
PreventTollBypass          : False
BusyOnBusyEnabledType      : Disabled
MusicOnHoldEnabledType     : Enabled
SafeTransferEnabled        : Disabled

PS C:\WINDOWS\system32> Set-CsTeamsCallingPolicy -Identity Global -Allowvoicemail AlwaysDisabled

PS C:\WINDOWS\system32> Get-CsTeamsCallingPolicy

Identity                   : Global
Description                :
AllowPrivateCalling        : True
AllowWebPSTNCalling        : True
AllowVoicemail             : AlwaysDisabled
AllowCallGroups            : True
AllowDelegation            : True
AllowCallForwardingToUser  : True
AllowCallForwardingToPhone : True
PreventTollBypass          : False
BusyOnBusyEnabledType      : Disabled
MusicOnHoldEnabledType     : Enabled
SafeTransferEnabled        : Disabled

 

After these changes, when I try to call a collegue, the voicemail is still enabled.

 

How can I disable this function?

5 Replies

@vcima that doesn't tell you how to disable it so not helpfull

 

I have the same issues seems MS thinks again everyone should have this, users think they should not. 

 

In addition we do not use the platform for calling, so voicemail in teams really should not be available.

You have these options to choose from https://docs.microsoft.com/en-us/microsoftteams/teams-calling-policy#voicemail-is-available-for-rout... and you can change the existing value either in Teams admin center under Voice and "Calling policies" or by using PowerShell.

https://docs.microsoft.com/en-us/powershell/module/skype/set-csteamscallingpolicy?view=skype-ps

@vcima1210 

 

I have used this information today. To clarify, my findings are that the solutions provided work but the options are not disabled on the end-user devices. I have tested disabling forwarding and voicemail and regardless of the options the end-user specifies they are ignored when the "disable policy" is applied.

 

I'm guessing that Microsoft didn't write the software in a way that the settings could be hidden when disabled but at least the functionality works.


Connect to teams powershell and run the following
Get-CsOnlineVoicemailUserSettings -Identity email@domain.name.com
to check whats set then to disable run the following
Set-CsOnlineVoicemailUserSettings -Identity email@domain.name.com -VoicemailEnabled $false

if you have issues connecting to teams powershell try the below

install-module AzureADPreview
$credential = Get-Credential
Connect-MsolService -Credential $credential
Import-Module MicrosoftTeams
(if the above fails)
$PSVersionTable.PSVersion
ensure version is 5

Install-Module -Name PowerShellGet -Force -AllowClobber
Install-Module -Name MicrosoftTeams -Force -AllowClobber