To disable the automatic expiration of Microsoft Teams meeting recordings and transcripts, use the cmdlet with the -NewMeetingRecordingExpirationDays parameter set to -1 . Setting Recordings to Never Expire
First, ensure you are connected to the Microsoft Teams PowerShell module. Then, run the following command to update your organization's global policy: powershell To disable the automatic expiration of Microsoft Teams