Commands › Microsoft Teams
Set-CsTeamsComplianceRecordingApplication
Modifies an existing association between an application instance of a policy-based recording application and a Teams recording policy for administering automatic policy-based recording in your tenant. Automatic policy-based recording is only applicable to Microsoft Teams users.
Quick start script
# Set-CsTeamsComplianceRecordingApplication — 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-CsTeamsComplianceRecordingApplication
$before | Format-List
# 3. Make the change (dry run first)
Set-CsTeamsComplianceRecordingApplication -Id <Guid> -Parent <String> -WhatIf
Set-CsTeamsComplianceRecordingApplication -Id <Guid> -Parent <String>
# 4. Verify and diff
$after = Get-CsTeamsComplianceRecordingApplication
Compare-Object ($before | Out-String) ($after | Out-String)
Syntax — 2 parameter sets
Identity (Default)
Set-CsTeamsComplianceRecordingApplication [-Tenant <System.Guid>] [-Identity <XdsIdentity>]
[-RequiredBeforeMeetingJoin <Boolean>] [-RequiredDuringMeeting <Boolean>]
[-RequiredBeforeCallEstablishment <Boolean>] [-RequiredDuringCall <Boolean>]
[-ConcurrentInvitationCount <UInt32>] [-ComplianceRecordingPairedApplications <ComplianceRecordingPairedApplication[]>]
[-Priority <Int32>] [-Id <Guid>] [-Parent <String>][-Force] [-WhatIf] [-Confirm] [<CommonParameters>]
Instance
Set-CsTeamsComplianceRecordingApplication [-Tenant <System.Guid>] [-Instance <PSObject>]
[-RequiredBeforeMeetingJoin <Boolean>] [-RequiredDuringMeeting <Boolean>]
[-RequiredBeforeCallEstablishment <Boolean>] [-RequiredDuringCall <Boolean>]
[-ConcurrentInvitationCount <UInt32>] [-ComplianceRecordingPairedApplications <ComplianceRecordingPairedApplication[]>]
[-Priority <Int32>] [-Force] [-WhatIf] [-Confirm] [<CommonParameters>]
Parameters (15)
Reference facts derived from Microsoft documentation, © Microsoft, licensed CC BY 4.0; restructured with original guidance by serv365.ai.