正解:
See the solution below in Explanation.
Explanation:
To create a retention policy for Microsoft Teams that meets the specified requirements, follow these steps:
* Sign in to the Microsoft 365 compliance center:
* Log in to the Office 365 Admin Portal.
* Visit the Microsoft 365 compliance center.
* Navigate to Retention Policies:
* Select Policies, then click on Retention.
* Create a New Retention Policy:
* Click on New retention policy.
* Provide a Name for your new retention policy (e.g., "Sales Teams Retention Policy").
* Optionally, add a Description.
* Select the Location:
* Choose the location to which the policy will be applied. In this case, select Microsoft Teams.
* Configure Retention Settings:
* Set the retention period to 5 years from the date items are created.
* Specify whether you want to retain or delete the content after the retention period.
* Apply the Policy:
* Save your changes.
This policy will now apply to Microsoft Teams chat and channel messages for users with a department attribute of "Sales," retaining items for five years before automatic deletion