Work from anywhereRemote device managementContact usAbout us

Powershell Cmdlet Disable Meeting Recording Transcript Expiration -1 ((top)) Page

While the Microsoft Teams Admin Center allows you to set a specific day count (between 1 and 99,999), it does not explicitly offer a "Never" option in the numerical field. PowerShell is the standard way to bypass this limitation. Step 1: Connect to Microsoft Teams

Set-CsTeamsMeetingPolicy -Identity Global -NewMeetingRecordingExpirationDays 99999

Then, you can assign this policy to specific users or groups. While the Microsoft Teams Admin Center allows you

New-CsTeamsMeetingPolicy -Identity "NoTranscriptExpiration" -TranscriptExpireDays -1

Set-CsTeamsMeetingPolicy -Identity "YourPolicyName" -TranscriptExpireDays -1 In the Teams backend logic, 0 specifically represents

Replace "YourPolicyName" with the actual name of the policy you wish to modify. If you want to create a new policy or modify the global policy, you can use "Global" or a specific policy name you've created.

To confirm the setting was applied correctly, run: In the Teams backend logic

PowerShell parameters for days usually require a positive integer or zero. In the Teams backend logic, 0 specifically represents "No Expiration." Using -1 will typically result in an error stating the value must be between 0 and 99999.

If your script or documentation explicitly requires a -1 parameter, you’re likely dealing with a different product (e.g., , Purview compliance ). For Teams recordings + transcripts under compliance retention:

© 2025 Inseego Corp. All Rights Reserved.