Powershell Cmdlet Disable Meeting Recording Transcript Expiration Set To -1 -

: Setting this to -1 ensures that recordings and transcripts never expire. Key Considerations

At first glance, -1 looks like an error—a phantom parameter. In most programming contexts, negative numbers are invalid for time-based retention. Yet in the Microsoft Teams PowerShell module (specifically the Skype for Business Online Connector),

Set-CsOnlineMeetingPolicy -Identity <PolicyName> -MeetingRecordingExpiration -1 : Setting this to -1 ensures that recordings

Teams recordings are stored in OneDrive (for channel meetings) or SharePoint (non-channel). A single 2-hour recording in 1080p can be 500MB–1.5GB. With -1 , those gigabytes never self-delete. Over a year, a department recording 10 meetings/week accrues ~2TB of unmanaged data.

The -1 flag is not a bug or a hack—it’s a deliberate engineering choice for edge cases. Use it sparingly, document every -1 assignment in your change log, and pair it with a manual review schedule. Otherwise, your “forever” recordings become digital hoarding, buried under the weight of meetings no one will ever rewatch. Yet in the Microsoft Teams PowerShell module (specifically

First, ensure you are connected to the Microsoft Teams PowerShell module. Then, run the following command to update your organization's global policy: powershell

: Disabling expiration means all future recordings will be stored indefinitely in OneDrive or SharePoint , which may impact your storage quota over time. Over a year, a department recording 10 meetings/week

Set-CsOnlineMeetingPolicy -Identity Global -MeetingRecordingExpiration -1