K B
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.
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.
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
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.
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
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thank you for showing me the script. Very helpful.