![]() This will override any chat retention policy with a shorter duration. Use the New-RetentionComplianceRule cmdlet and change the retention duration of the policy created earlier to unlimited. Select Delete.Įnable Chat History in Teams for Business with PowerShell Deleting or disabling the policy sets retention back to the default of 7 years. Then you can select Edit, Delete, or Disable policy. Log in to the Microsoft 365 Compliance Center. ![]() If you created the zero retention policy above, yet want to turn on retention and therefore chat history, you can edit or delete the policy. Enable Chat History in Teams for Business with GUI In Teams for Business, unless you change the retention policy, chat history is already enabled and chat messages are saved indefinitely. New-RetentionComplianceRule -Name “Chat Delete Rule” -Policy “Teams Chat – No Retention” -RetentionComplianceAction Delete -RetentionDuration 0 Enable Chat History in Teams for Business Because retention duration is set for 0 days, chat history may exist for up to 24 hours: Set the rule in the policy to delete Teams conversations.New-RetentionCompliancePolicy -Name “Teams Chat – No Retention” -TeamsChatLocation All -TeamsChatLocationException None -Enabled $true Because Microsoft Teams chat retention policies are managed by Exchange Online, you must install the ExchangePowershellModule to use these cmdlets.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |