RetentionCompliancePolicy

Rising Flight 4,376 Reputation points
2022-02-16T20:19:55.337+00:00

Hi All

i want to apply retention policy to office 365 unified group mailboxes. i came across the below article.

https://learn.microsoft.com/en-us/microsoft-365/compliance/retention-settings?view=o365-worldwide

If the retention policy is applied on office365 groups, the retention policy will be applied on office 365 unified group mailboxes and SharePoint sites. I want to apply 2 year retention policy only on office365 unified group mailboxes. As per the below article it is possible from PowerShell. Set-RetentionCompliancePolicy. experts guide me with the PowerShell syntax to put 2 year retention policy only on office365 unified group mailboxes.

https://learn.microsoft.com/en-us/powershell/module/exchange/set-retentioncompliancepolicy?view=exchange-ps

SharePoint
SharePoint
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
10,591 questions
Microsoft Exchange Online Management
Microsoft Exchange Online Management
Microsoft Exchange Online: A Microsoft email and calendaring hosted service.Management: The act or process of organizing, handling, directing or controlling something.
4,492 questions
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,604 questions
0 comments No comments
{count} votes

Accepted answer
  1. Yi Lu_MSFT 17,481 Reputation points
    2022-02-17T08:04:45.98+00:00

    Hi @Rising Flight
    Resource mailboxes, contacts, and Microsoft 365 group mailboxes aren't supported for Exchange email. For Microsoft 365 group mailboxes, select the Microsoft 365 Groups location instead. Although the Exchange location initially allows a group mailbox to be selected for a static scope, when you try to save the retention policy, you receive an error that "RemoteGroupMailbox" is not a valid selection for this location.

    For more information, you could refer to:
    https://learn.microsoft.com/en-us/microsoft-365/compliance/retention-settings?view=o365-worldwide#configuration-information-for-exchange-email-and-exchange-public-folders


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    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

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.