Forum Discussion
MC_Edwards
Aug 01, 2023Copper Contributor
Adaptive scope syntax
I've been asked to create some retention policies for mailboxes using Purview. Existing users should have an M365 retention policy that retains for 5 years. Separated users, whose mailboxes h...
Igbins81
Dec 15, 2023Copper Contributor
Hello Erica,
I have like to create an adaptive scope for all M365 service date and apply a retention of 5years to it. Example Exchange, SharePoint, OneDrive and MS Teams. Please can you guide me on this.
I have like to create an adaptive scope for all M365 service date and apply a retention of 5years to it. Example Exchange, SharePoint, OneDrive and MS Teams. Please can you guide me on this.
Sophie_Ke
Microsoft
Dec 15, 2023Hi Igbins81, will you be scoping to all exchange mailboxes, all SharePoint sites, all users' OneDrive, and all Team messages? If so, you can use static scope instead and create a retention policy. If you are trying to target specific groups of users or sites, you can definitely use adaptive scope.
You can follow the steps here: Automatically retain or delete content by using retention policies | Microsoft Learn
Please let me know if you have any follow up questions!
- Igbins81Dec 16, 2023Copper ContributorSophie_Ke, We already have a manual process using static for exchange mailbox date, one retention policy keeps items forever for if someone leaves the company and the other 6 years retention period and delete items automatically. I want to stop manually going to add these users. So I want to automate to retain these two scenarios using adaptive scope as oppose to a manual process. Adding new users to the 6 years retention period and adding terminated users to the keep forever retention. Please advise best way to archive this goal using the adaptive scope and query that can be used.