Commands › Microsoft Teams

Remove-CsSharedCallQueueHistoryTemplate

Microsoft Teams MicrosoftTeams Remove-*

This PowerShell cmdlet is being deprecated, please use the new version Remove-CsSharedCallHistoryTemplate instead. > [!IMPORTANT] >This PowerShell cmdlet is being deprecated, please use the new version Remove-CsSharedCallHistoryTemplate instead.

Quick start script

# Remove-CsSharedCallQueueHistoryTemplate — 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-CsSharedCallQueueHistoryTemplate
$before | Format-List

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

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

Syntax

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

Parameters (1)

ParameterTypeRequiredWhat it controls
-Id String yes The Id parameter is the unique identifier assigned to the Shared Call Queue History template.

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