{"id":389,"date":"2022-08-23T12:20:50","date_gmt":"2022-08-23T11:20:50","guid":{"rendered":"https:\/\/www.davidirwin.co.uk\/?p=389"},"modified":"2022-08-23T12:20:50","modified_gmt":"2022-08-23T11:20:50","slug":"archive-retention-policy","status":"publish","type":"post","link":"https:\/\/www.davidirwin.co.uk\/index.php\/2022\/08\/23\/archive-retention-policy\/","title":{"rendered":"Archive Retention Policy"},"content":{"rendered":"<p>In this quick tip, we review PowerShell command to apply Retention Policy that you have just created on your Office 365 but it did not automatically run. The issue is that the workcycle period of Retention Policy by Managed Folder Assistant runs every 7 days. If you want your newly created Retention Policy to start immediately on a mailbox, you will first have to connect to use\u00a0<a href=\"https:\/\/www.vootwerk.com\/how-to-connect-to-exchange-online-using-remote-powershell\/\">Remote PowerShell<\/a>\u00a0to your Office 365 account.<\/p>\n<p>Once you are connected to your Office 365 account, you can check which Retention Policy has been applied to a particular mailbox. The PowerShell syntax is as followed:<\/p>\n<pre class=\"wp-block-code\">\n\n<div class=\"codecolorer-container text default\" style=\"overflow:auto;white-space:nowrap;width:435px;\"><div class=\"text codecolorer\">Get-Mailbox &amp;lt;Mailbox&amp;gt; &nbsp;| FL RetentionPolicy<\/div><\/div>\n\n<\/pre>\n<p>For example,<\/p>\n<pre class=\"wp-block-code\">\n\n<div class=\"codecolorer-container text default\" style=\"overflow:auto;white-space:nowrap;width:435px;\"><div class=\"text codecolorer\">Get-Mailbox yourmailbox@yourOffice365account.com| FL RetentionPolicy<\/div><\/div>\n\n<\/pre>\n<p>Once you\u2019ve verified the Retention Policy, you can then run the Managed Folder Assistant on the specific mailbox with the following PowerShell syntax:<\/p>\n<pre class=\"wp-block-code\">\n\n<div class=\"codecolorer-container text default\" style=\"overflow:auto;white-space:nowrap;width:435px;\"><div class=\"text codecolorer\">Start-ManagedFolderAssistant &amp;lt;Mailbox&amp;gt;<\/div><\/div>\n\n<\/pre>\n<p>For example,<\/p>\n<pre class=\"wp-block-code\">\n\n<div class=\"codecolorer-container text default\" style=\"overflow:auto;white-space:nowrap;width:435px;\"><div class=\"text codecolorer\">Start-ManagedFolderAssistant yourmailbox@yourOffice365account.com<\/div><\/div>\n\n<\/pre>\n<p>Once you applied the PowerShell command above, you wait for 5 minutes or so before logging into your OWA to check the progress of your Retention Policy.<\/p>\n<p>&nbsp;<\/p>\n<blockquote class=\"wp-embedded-content\" data-secret=\"HoSR3NMask\"><p><a href=\"https:\/\/www.vootwerk.com\/quick-tips-applying-retention-policy-immediately-to-office-365-mailbox\/\">QUICK TIPS: APPLYING RETENTION POLICY IMMEDIATELY TO OFFICE 365 MAILBOX<\/a><\/p><\/blockquote>\n<p><iframe loading=\"lazy\" class=\"wp-embedded-content\" sandbox=\"allow-scripts\" security=\"restricted\" style=\"position: absolute; clip: rect(1px, 1px, 1px, 1px);\" title=\"&#8220;QUICK TIPS: APPLYING RETENTION POLICY IMMEDIATELY TO OFFICE 365 MAILBOX&#8221; &#8212; Vootwerk\" src=\"https:\/\/www.vootwerk.com\/quick-tips-applying-retention-policy-immediately-to-office-365-mailbox\/embed\/#?secret=fdMaL67snJ#?secret=HoSR3NMask\" data-secret=\"HoSR3NMask\" width=\"500\" height=\"282\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\"><\/iframe><\/p>\n","protected":false},"excerpt":{"rendered":"<p>In this quick tip, we review PowerShell command to apply Retention Policy that you have just created on your Office 365 but it did not automatically run. The issue is that the workcycle period of Retention Policy by Managed Folder Assistant runs every 7 days. If you want your newly created Retention Policy to start [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[12],"tags":[],"class_list":["post-389","post","type-post","status-publish","format-standard","hentry","category-office-365"],"_links":{"self":[{"href":"https:\/\/www.davidirwin.co.uk\/index.php\/wp-json\/wp\/v2\/posts\/389","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.davidirwin.co.uk\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.davidirwin.co.uk\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.davidirwin.co.uk\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.davidirwin.co.uk\/index.php\/wp-json\/wp\/v2\/comments?post=389"}],"version-history":[{"count":1,"href":"https:\/\/www.davidirwin.co.uk\/index.php\/wp-json\/wp\/v2\/posts\/389\/revisions"}],"predecessor-version":[{"id":390,"href":"https:\/\/www.davidirwin.co.uk\/index.php\/wp-json\/wp\/v2\/posts\/389\/revisions\/390"}],"wp:attachment":[{"href":"https:\/\/www.davidirwin.co.uk\/index.php\/wp-json\/wp\/v2\/media?parent=389"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.davidirwin.co.uk\/index.php\/wp-json\/wp\/v2\/categories?post=389"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.davidirwin.co.uk\/index.php\/wp-json\/wp\/v2\/tags?post=389"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}