create a user mailbox in Exchange that has access to all mailboxes to be archived.
Our recommendation is: RdxMaildepotImporter.
now add the access rights to this mailbox.
To do this, execute the following command in the MicrosoftExchange Management Shell:
New-ManagementRoleAssignment -Name: "Reddoxx Impersonation" -Role:ApplicationImpersonation -User:RdxMailDepotImporter@domain.tld
adjust the throttling policy so that the import is not restricted by the limitations of the Exchange Server.
To do this, execute the following commands in the MicrosoftExchange Management Shell:
New-ThrottlingPolicy ReddoxxImport
Set-ThrottlingPolicy ReddoxxImport -RCAMaxConcurrency Unlimited -EWSMaxConcurrency Unlimited -EWSMaxSubscriptions Unlimited -CPAMaxConcurrency Unlimited -EwsCutoffBalance Unlimited -EwsMaxBurst Unlimited -EwsRechargeRate Unlimited
Set-Mailbox RdxMailDepotImporter@domain.tld -ThrottlingPolicy ReddoxxImport
If you want to delete the policy after the import, you can do this with the following two commands:
Set-Mailbox RdxMailDepotImporter@domain.tld -ThrottlingPolicy $null
Remove-ThrottlingPolicy ReddoxxImport