Quantcast
Channel: Exchange Server 2013 - General Discussion forum
Viewing all articles
Browse latest Browse all 4521

How to force retention policy in Office365 for a mailbox

$
0
0

Looking to run the MRM retention policy for a E3 mailbox and or Tenant.   I have an old PST file (2011 and older) that I have attached to their active Office365 mailbox Inbox Subfolder and have a policy in MRM to send the online Archive.   I know the MRM policy works because it has placed items in the "Online Archive" for the inbox and it's sub folders.

The questions is how often does this MRM policy run on it's own?   Daily, hourly, weekly.

How do I force the policy to take effect immediately?

This is what I believe will do this via powershell:

Set-executionpolicy remotesigned -force

Set-executionpolicy unrestricted -force

$LiveCred = Get-Credential

Connect-msolservice -credential $LiveCred

$Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUrlhttps://ps.outlook.com/powershell/ -Credential $LiveCred -Authentication Basic -AllowRedirection Import-PSSession $Session


  Set-Mailbox “mailbox name” -RetentionPolicy “Archive Policy
 Start-ManagedFolderAssistant -Identity “mailbox name


Viewing all articles
Browse latest Browse all 4521

Trending Articles