Commands › Microsoft Teams

New-CsComplianceRecordingForCallQueueTemplate

Microsoft Teams MicrosoftTeams New-*

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)

ParameterTypeRequiredWhat it controls
-BotApplicationInstanceObjectId String yes The compliance recording bot's application instance object Id.
-ConcurrentInvitationCount Int32 The number of concurrent invitations to send to the compliance recording for call queue bot.
-Description String yes A description for the compliance recording for call queues template.
-Name String yes The name of the compliance recording for call queue template.
-PairedApplicationInstanceObjectId String The PairedApplicationInstanceObjectId parameter specifies the paired compliance recording bot application object Id to invite to the call.
-RequiredBeforeCall SwitchParameter Indicates if the compliance recording for call queues bot must be able to join the call. *Strict recording* - if the bot can't join the call, the call will end.
-RequiredDuringCall SwitchParameter Indicates if the compliance recording for call queues bot must remain part of the call. *Strict recording* - if the bot leaves the call, the call will end.

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