How can I set an O365 mail archive policy for all mailboxes where mails are older than 5 years and size larger than 50GB
I have looked up Office365 admin portal, however can't see any options to achieve that Perhaps powershell command ?
Ideally, I would like this to be an automatic process that applies to all mailboxes. Rather than manually checking the mailbox periodically, the system checks regularly.
Is it possible?