The Managed Folder Assistant (MFA) is still the component that processes MRM retention policies (including MoveToArchive tags), but in Exchange Online it runs automatically and processes each mailbox at least once every 7 days. This means Online Archive processing will occur without manual intervention, even if the Start-ManagedFolderAssistant cmdlet is not exposed in the current REST-based ExchangeOnlineManagement module.
What MFA does when it runs:
- Inspects items in the mailbox that have a retention policy applied.
- Determines whether items are subject to retention.
- Stamps items with the appropriate retention tags.
- Executes the configured retention action (for example, MoveToArchive) on items whose retention age is reached.
To confirm/force processing with the tools that are documented:
- Ensure the mailbox has the correct retention policy assigned (using standard cmdlets such as Set-Mailbox).
- Allow time for the Managed Folder Assistant to run (up to 7 days in Exchange Online).
- Verify behavior by signing into the mailbox via Outlook or Outlook on the web and checking that items are moved to the archive according to the policy.
Where Start-ManagedFolderAssistant is available (for example, in environments or modules where it is still exposed), it can be used to manually trigger MFA for:
- A single mailbox:
Start-ManagedFolderAssistant -Identity "<Mailbox Identity>"
- All user mailboxes:
$Mailboxes = Get-Mailbox -ResultSize Unlimited -Filter {RecipientTypeDetails -eq "UserMailbox"}
$Mailboxes.Identity | Start-ManagedFolderAssistant
If the cmdlet is not available in the current module/tenant, there is no alternative documented cmdlet to “force” MRM processing; administrators must rely on the built-in MFA schedule. In that case, confirmation is done by observing that items are eventually moved or deleted in line with the configured retention tags.
Note: MRM will not move items larger than the MaxSendSize/MaxReceiveSize configured on the mailbox, and disabled tags or ElcProcessingDisabled settings can prevent MFA from acting on items.
References: