Commands › Microsoft Teams

New-CsAutoRecordingTemplate

Microsoft Teams MicrosoftTeams New-*

Create an Auto Recording template that can be assigned to a call queue.

Quick start script

# New-CsAutoRecordingTemplate — 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-CsAutoRecordingTemplate
$before | Format-List

# 3. Make the change
New-CsAutoRecordingTemplate -Name <String> -Description <String> -SharePointHostName <String>

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

Syntax

New-CsAutoRecordingTemplate -Name <String> -Description <String> -SharePointHostName <String> -SharePointSiteName <String> -RecordingDocumentOwner <String> [-TranscriptionEnabled <Boolean>] [-RecordingEnabled <Boolean>] [-AgentViewPermission <Object>] [-AutoRecordingAnnouncementAudioFileId <String>] [-AutoRecordingAnnouncementTextToSpeechPrompt <String>] [<CommonParameters>]

Parameters (10)

ParameterTypeRequiredWhat it controls
-Name String yes The name of the auto recording template
-Description String yes A description for the auto recording template.
-TranscriptionEnabled Boolean Is transcription enabled.
-RecordingEnabled Boolean Is recording enabled.
-AgentViewPermission Object Are agents allowed to access the recordings or transcriptions.
-SharePointHostName String yes The SharePoint hostname where the recordings and transcripts are stored.
-SharePointSiteName String yes Specifies the name of the SharePoint site used to store automatic recording and transcription. The site will be provisioned if it doesn't already exist through the Auto Recording template creation process.
-RecordingDocumentOwner String yes The owner of the recording document
-AutoRecordingAnnouncementAudioFileId String yes The audio file Id for the custom recording.
-AutoRecordingAnnouncementTextToSpeechPrompt String yes The text to speech prompt that will be played to callers telling them their call is being recorded.

Message Center changes mentioning this command

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