when you enable Exchange online archiving for a user on Microsoft 365, it can take 24 hours or more to manage, starting and starting email to run it before the primary mailbox.
If you want this process to start immediately, connect Microsoft 365 to PowerShell and ask the Managed Folder Assistant to turn on.
Open the PowerShell or Windows PowerShell ISE by using Administrator mode
Set-ExecutionPolicy RemoteSigned
$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 start waiting for 5 minutes or so and check progress by logging into OWA (Outlook Web App) and viewing the contents of the in-place archive mailbox in the left-hand sidebar or through the Exchange Admin Center. > Mailbox> Recipients> In-Place Archive> View Details.
For all users you have to run the below command on the PowerShell
$UserMailboxes = Get-Mailbox -Filter {(RecipientTypeDetails -eq ‘UserMailbox’)} $UserMailboxes | ForEach {Start-ManagedFolderAssistant $_.Identity}
๐๐Thank you for reading the blog, please do like, share & share your thoughts in the comment section.
Comments
Post a Comment