{"id":310,"date":"2017-04-17T19:20:21","date_gmt":"2017-04-17T19:20:21","guid":{"rendered":"http:\/\/www.torontohelpdesk.ca\/blog\/?p=310"},"modified":"2022-09-28T12:47:21","modified_gmt":"2022-09-28T12:47:21","slug":"office-365-force-archive-policy","status":"publish","type":"post","link":"https:\/\/www.torontohelpdesk.ca\/blog\/office-365-force-archive-policy\/","title":{"rendered":"Office 365 &#8211; Force Archive Policy"},"content":{"rendered":"<p><strong>Problem:<\/strong><\/p>\n<p>You enable an auto archive policy into Online Archive but it doesn&#8217;t seem to want to work<\/p>\n<p><strong>Solution:<\/strong><\/p>\n<ul>\n<li style=\"list-style-type: none;\">\n<ul>\n<li>On your local computer, open Windows PowerShell and run the following command.\n<pre><span class=\"hljs-pscommand\">Connect-ExchangeOnline<\/span><span class=\"hljs-parameter\"> -UserPrincipalName<\/span> *user name*<\/pre>\n<p>In the <b class=\"ocpUI\">Windows PowerShell Credential Request<\/b> dialog box, type the user name and password for your Office 365 global admin account, and then click <b class=\"ocpUI\">OK<\/b>.<\/li>\n<li>\n<pre>To verify that you\u2019re connected to your Exchange Online organization, run the following command to get a list of all the mailboxes in your organization.<\/pre>\n<pre>Get-Mailbox<\/pre>\n<div class=\"ocpAlert\">\n<p class=\"ocpAlertSection\"><b class=\"ocpNote\">Note:<\/b>\u00a0For more information or if you have problems connecting to your Exchange Online organization, see <a class=\"ocpExternalLink\" href=\"https:\/\/go.microsoft.com\/fwlink\/p\/?LinkId=517283\" target=\"_blank\" rel=\"noopener\">Connect to Exchange Online using remote PowerShell<\/a>.<\/p>\n<\/div>\n<\/li>\n<li>Run the following command to start the Managed Folder Assistant for a specific user mailbox in your organization.\n<pre>Start-ManagedFolderAssistant -identity *username*<\/pre>\n<\/li>\n<li>Run the following command to start the Managed Folder Assistant for all mailboxs in your organization.\n<pre>$UserMailboxes = Get-Mailbox -Filter {(RecipientTypeDetails -eq 'UserMailbox')} $UserMailboxes | ForEach {Start-ManagedFolderAssistant $_.Identity}<\/pre>\n<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Problem: You enable an auto archive policy into Online Archive but it doesn&#8217;t seem to want to work Solution: On your local computer, open Windows PowerShell and run the following command. Connect-ExchangeOnline -UserPrincipalName *user name* In the Windows PowerShell Credential <a class=\"more-link\" href=\"https:\/\/www.torontohelpdesk.ca\/blog\/office-365-force-archive-policy\/\">Continue reading <span class=\"screen-reader-text\">  Office 365 &#8211; Force Archive Policy<\/span><span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[64],"tags":[115,99,116],"class_list":["post-310","post","type-post","status-publish","format-standard","hentry","category-office-365","tag-auto-acrhive","tag-office-365","tag-online-archive"],"_links":{"self":[{"href":"https:\/\/www.torontohelpdesk.ca\/blog\/wp-json\/wp\/v2\/posts\/310","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.torontohelpdesk.ca\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.torontohelpdesk.ca\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.torontohelpdesk.ca\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.torontohelpdesk.ca\/blog\/wp-json\/wp\/v2\/comments?post=310"}],"version-history":[{"count":4,"href":"https:\/\/www.torontohelpdesk.ca\/blog\/wp-json\/wp\/v2\/posts\/310\/revisions"}],"predecessor-version":[{"id":512,"href":"https:\/\/www.torontohelpdesk.ca\/blog\/wp-json\/wp\/v2\/posts\/310\/revisions\/512"}],"wp:attachment":[{"href":"https:\/\/www.torontohelpdesk.ca\/blog\/wp-json\/wp\/v2\/media?parent=310"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.torontohelpdesk.ca\/blog\/wp-json\/wp\/v2\/categories?post=310"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.torontohelpdesk.ca\/blog\/wp-json\/wp\/v2\/tags?post=310"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}