Force Online Archiving through PowerShell

In case that the Archive is enabled but the archiving is not working, it can be done manually (forced) by following the below:

Start PowerShell as an administrator and run the below cmdlet:

Install-Module ExchangeOnlineManagement

Then press Y and then A:

Next connect to the Office 365 portal using the below cmdlet through PowerShell and the sign in window will pop-up to enter the credentials.

Connect-ExchangeOnline

In case the below error appears, run the following cmdlet and then try to connect again:

Set-ExecutionPolicy RemoteSigned

Lastly, run the cmdlet Start-ManagedFolderAssistant  <email address>  to force the online archiving.

Microsoft Workplace Discount Program

Was this article helpful?

Related Articles

Leave A Comment?