Skip to main content

Disable Voicemail transcription for select users in Microsoft Teams

Author by Brett Janzen

First need to create the new policy.

New-CsOnlineVoicemailPolicy -Identity "TranscriptionDisabled" -EnableTransciption $false

From there you can “grant” users the new policy.

Grant-CsOnlineVoicemailPolicy -Identity "" -PolicyName TranscriptionDisabled

Modify a already existing Policy

Set-CsOnlineVoicemailPolicy -Identity "TranscriptionDisabled" -MaximumRecordingLength ([TimeSpan]::FromSeconds(60))

To add a list of users we can use a recursive script to run through a txt file

Putting a txt file in the same location that you run the script from or modify the (Get-content “c:\temp\userlist.txt) will allow the script to pick up the user list.

 ForEach ($UserDisableTranscription in (Get-Content "userlist.txt")) {
                 grant-CsOnlineVoicemailPolicy -Identity $UserDisableTranscription -PolicyName TranscriptionDisabled