Commands › Microsoft Teams

Remove-CsSharedVoicemailTriageSettingsTemplate

Microsoft Teams MicrosoftTeams Remove-*

This cmdlet deletes a Shared Voicemail Settings Triage template. Before deleting a template, ensure that it is not associated with any Auto Attendant or Call Queue, as templates that are currently in use cannot be removed.

Quick start script

# Remove-CsSharedVoicemailTriageSettingsTemplate — quick start (serv365.ai)
# 1. Connect (app-only shown; interactive: omit the certificate parameters)
Connect-MicrosoftTeams -CertificateThumbprint $thumb -ApplicationId $appId -TenantId $tenantId

# 2. Capture the current state first — you cannot roll back what you never recorded
$before = Get-CsSharedVoicemailTriageSettingsTemplate
$before | Format-List

# 3. Make the change
Remove-CsSharedVoicemailTriageSettingsTemplate -Id <String>

# 4. Verify and diff
$after = Get-CsSharedVoicemailTriageSettingsTemplate
Compare-Object ($before | Out-String) ($after | Out-String)

Syntax

Remove-CsSharedVoicemailTriageSettingsTemplate -Id <String> [<CommonParameters>]

Parameters (1)

ParameterTypeRequiredWhat it controls
-Id String yes The Id parameter is the unique identifier assigned to the Shared Voicemail Triage template.

Reference facts derived from Microsoft documentation, © Microsoft, licensed CC BY 4.0; restructured with original guidance by serv365.ai.