Set Teams Meeting Recording Expiration to 'Never Expire'


Microsoft announced they would change Teams meeting recordings to auto-expire after 60 days.  A guide for this change along with a FAQ was published by Microsoft: MS Docs.

Per the linked article, this setting can be found using the 'Set-CsTeamsMeetingPolicy' cmdlet in the Teams PowerShell module.

Changing the Teams Meeting Policy to Never Expire:

First, connect to Teams PowerShell:

To get a list of all Teams Meeting Policies, run the 'Get-CsTeamsMeetingPolicy' and get the Name, Identity, and NewMeetingExpirationDays properties:

(NOTE: I already change the ExpirationDays parameter on several policies 😉.)

Run the 'Set-CsTeamsMeetingPolicy' command with the 'NewMeetingRecordingExpirationDays' parameter set to -1. The command will not return anything if successful.

Validate the policy has been updated with the 'Get-CsTeamsMeetingPolicy' command once again:

An error occurs when you try to set the expiration days for a policy that does not have Cloud Recording enabled: