Link to home
Start Free TrialLog in
Avatar of K B
K BFlag for United States of America

asked on

Office 365: Can an administrator apply a Retention Policy on non-default folders in Outlook?

I know the Default Policy Tags handle the default folders but how do you apply a Retention Policy from the backend as an administrator to folders created by the end user?

Any PowerShell examples and/or step-by-steps would be helpful.

Lastly what time of the day does the MRM run (each 7 days)?

Thank you.
Avatar of Vasil Michev (MVP)
Vasil Michev (MVP)
Flag of Bulgaria image

You need some EWS based script, "regular" PowerShell doesnt do that. Here's an example one: http://blogs.msdn.com/b/akashb/archive/2011/08/11/stamping-retention-policy-tag-using-ews-managed-api-1-1-from-powershell-exchange-2010.aspx
Avatar of K B

ASKER

Thanks Vasil...

This works in Office 365 and is designed to apply a retention policy to ALL folders in a user's Outlook?

Otherwise there is no way to remove all emails in all mail folders at a time of their choosing?  Effectively this is what the customer is trying to do.. delete all messages with a script on a particular mailbox.
ASKER CERTIFIED SOLUTION
Avatar of Vasil Michev (MVP)
Vasil Michev (MVP)
Flag of Bulgaria image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of K B

ASKER

Thank you for showing me the script.  Very helpful.