Commands › Microsoft Teams
New-CsComplianceRecordingForCallQueueTemplate
Creates a Compliance Recording for Call Queues template.
Quick start script
# New-CsComplianceRecordingForCallQueueTemplate — 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-CsComplianceRecordingForCallQueueTemplate
$before | Format-List
# 3. Make the change
New-CsComplianceRecordingForCallQueueTemplate -BotApplicationInstanceObjectId <String> -Description <String> -Name <String>
# 4. Verify and diff
$after = Get-CsComplianceRecordingForCallQueueTemplate
Compare-Object ($before | Out-String) ($after | Out-String)
Syntax
New-CsComplianceRecordingForCallQueueTemplate -Name <String> -Description <String> -BotApplicationInstanceObjectId <String>
[-RequiredDuringCall] [-RequiredBeforeCall] [-ConcurrentInvitationCount <Int32>]
[-PairedApplicationInstanceObjectId <String>] [<CommonParameters>]
Parameters (7)
Reference facts derived from Microsoft documentation, © Microsoft, licensed CC BY 4.0; restructured with original guidance by serv365.ai.