David-Barrett-MS / PowerShell-EWS-Scripts

A collection of PowerShell scripts that use EWS to perform actions against Exchange mailboxes
MIT License
119 stars 13 forks source link

Error (MoveItems): Exception calling "CopyItems" with "3" argument(s): "The request failed. The operation has timed out" #32

Closed Martijn-Lucas closed 11 months ago

Martijn-Lucas commented 1 year ago

Hi @David-Barrett-MS, When I copy allot E-mail from a mailbox to a different mailbox, I'll get the error message below. I this someting you can look at? Error 2 I used this parameters: Used Settings

Thanks in advance

David-Barrett-MS commented 11 months ago

Sorry I missed this earlier. For large mailboxes, the script will eventually encounter throttling, and this is expected. It will generally handle it fine and back off as needed. If not, you can always stop the script and start it again (for move scenarios it will pick up where it left off) - the longer you leave it before starting it again the more the throttling budget will recharge.