Force Exchange Online Archiving to start archiving email on Office 365

When you enable Exchange Online Archiving for a user on Office 365, it can take 24 hours or more for the Managed Folder Assistant to start it’s first run and begin archiving email out of the primary mailbox.

If you want this process to start immediately, connect to Office 365 with PowerShell and tell the Managed Folder Assistant to start running.

$UserCredential = Get-Credential
$Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https://outlook.office365.com/powershell-liveid/ -Credential $UserCredential -Authentication Basic -AllowRedirection
Import-PSSession $Session
Start-ManagedFolderAssistant -Identity user@example.com

Then wait 5 minutes or so for it to begin running and check the progress via logging in to OWA and looking at either the contents of the In-Place Archive mailbox in the left-hand sidebar or via the Exchange Admin Centre > Mailboxes > Recipients > In-Place Archive > View details.

Don’t forget to disconnect the remote PowerShell session by running the following command.

Remove-PSSession $Session

 

 

http://automatica.com.au/2018/03/force-exchange-online-archiving-to-start-archiving-email-on-office-365/

3 comments

Leave a Reply to mgnk Cancel reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s