Force O365 mailbox archive process

1 min. readlast update: 12.19.2024

Connect Power Shell to O365 Exchange Management Shell

(these two steps need be done only once per pc)

  1. Install-Module -Name ExchangeOnlineManagement -RequiredVersion 2.0.5
  2. Import-Module ExchangeOnlineManagement

If error during step 2..

  1. Get-ExecutionPolicy
  2. Set-ExecutionPolicy -ExecutionPolicy Unrestricted

Then connect

  1. Connect-ExchangeOnline

Enable archive process

  1. Get-Mailbox
  2. get-mailboxLocation -user <user>@freeholdcartage.com | fl mailboxGuid,mailboxLocationType
  3. Start-ManagedFolderAssistant -Identity <PrimaryGuidId>

It should start processing with a minute or two

Was this article helpful?