CsOnlineVoicemailPolicy
Modifies an existing Online Voicemail policy.
Cloud Voicemail provides voicemail recording, deposit, and retrieval capabilities for Microsoft Teams and Teams Phone users.
By default, Teams and Teams Phone users are enabled for Cloud Voicemail. The Online Voicemail Policy controls whether voicemail transcription, transcription profanity masking, transcription translation, AI-powered voicemail triage, and call answer rule editing are enabled for a user. The policy also specifies the maximum voicemail recording length and the primary and secondary system prompt languages used by the voicemail service.
By default:
- Voicemail transcription is enabled
- Transcription profanity masking is disabled
- Transcription translation is enabled
- Call answer rule editing is enabled
- The maximum voicemail recording length is 5 minutes
- The primary and secondary system prompt languages are not configured. The user's voicemail language setting is used instead
- AI-powered voicemail triage is disabled
Tenant admin would be able to create a customized online voicemail policy to match the organization's requirements.
Available cmdlets
Parameters
| Name | Type | Default value | Accepted values |
|---|---|---|---|
| EnableEditingCallAnswerRulesSetting | Boolean | ||
| EnableTranscription | Boolean | ||
| EnableTranscriptionProfanityMasking | Boolean | ||
| EnableTranscriptionTranslation | Boolean | ||
| EnableVoicemailTriage | Boolean | False | |
| MaximumRecordingLength | Duration | ||
| PostambleAudioFile | String | ||
| PreambleAudioFile | String | ||
| PreamblePostambleMandatory | Boolean | False | |
| PrimarySystemPromptLanguage | String | ||
| SecondarySystemPromptLanguage | String | ||
| ShareData | String |
Examples
Example 1
Set-CsOnlineVoicemailPolicy -Identity "CustomOnlineVoicemailPolicy" -MaximumRecordingLength ([TimeSpan]::FromSeconds(60)) The command shown in Example 1 changes the MaximumRecordingLength to 60 seconds for the per-user online voicemail policy CustomOnlineVoicemailPolicy.
Example 2
Set-CsOnlineVoicemailPolicy -EnableTranscriptionProfanityMasking $false The command shown in Example 2 changes the EnableTranscriptionProfanityMasking to false for tenant level global online voicemail policy when calling without Identity parameter.
Example 3
Set-CsOnlineVoicemailPolicy -Identity "CustomOnlineVoicemailPolicy" -EnableTranscription $true -EnableVoicemailTriage $true This command enables AI-powered voicemail triage for users assigned to the specified Online Voicemail Policy.
When AI-powered voicemail triage is enabled, voicemail messages delivered to users with an eligible Microsoft 365 Copilot license include an AI-generated summary, identified action items, a suggested category, and an importance classification.