how can I apply a retention policy using security or distribution groups?

William Fahham 1 Reputation point

how to apply my retention policy using distribution or security groups?

Exchange Server Management
Exchange Server Management
Exchange Server: A family of Microsoft client/server messaging and collaboration software.Management: The act or process of organizing, handling, directing or controlling something.
7,335 questions
{count} votes

1 answer

Sort by: Most helpful
  1. JeffYang-MSFT 6,241 Reputation points Microsoft Vendor

    Hi @William Fahham ,

    If you are an On-Premise user, you could apply a retention policy using distribution groups by running the command below in EMS:

    Get-DistributionGroupMember "<GROUP NAME>" -ResultSize Unlimited | Get-Mailbox | Set-Mailbox -RetentionPolicy "<POLICY NAME>"  

    If you are an O365 user, you could use the existed options to Include or Exclude the security or distribution groups you would like, just like below:


    Hope these could help.

    If an Answer is helpful, please click "Accept Answer" and upvote it.
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments