question

RisingFlight-7863 avatar image
0 Votes"
RisingFlight-7863 asked emilyhua-msft edited

RetentionCompliancePolicy

Hi All

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

https://docs.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://docs.microsoft.com/en-us/powershell/module/exchange/set-retentioncompliancepolicy?view=exchange-ps

office-sharepoint-onlineoffice-exchange-server-administrationoffice-exchange-online-itpro
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

YiLu-MSFT avatar image
0 Votes"
YiLu-MSFT answered

Hi @RisingFlight-7863
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://docs.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.


5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.