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.