Commands › Microsoft Teams

Set-CsSharedCallQueueHistoryTemplate

Microsoft Teams MicrosoftTeams Set-*

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

Quick start script

# Set-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
Set-CsSharedCallQueueHistoryTemplate -Instance <String>

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

Syntax

Set-CsSharedCallQueueHistoryTemplate -Instance <instance> [<CommonParameters>]

Parameters (1)

ParameterTypeRequiredWhat it controls
-Instance String yes The instance of the shared call queue history template to change.

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