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

Merge-MailboxFolders Throttling Handling #31

Closed DP3103 closed 8 months ago

DP3103 commented 1 year ago

Hi David - Thanks for the awesome script. I am running in to an issue where after the throttling stall , when the job resumes - it is skipping the remaining items in the current folder.

1040 items found; attempting to move Throttling detected, server requested back off for 191680 milliseconds Throttling budget should now be reset, resuming operations No results returned - assuming all items processed

Throttle_merge_mailboxfolders

David-Barrett-MS commented 1 year ago

Would need to see a verbose log to determine what is happening.

five2seven commented 1 year ago

Did you ever get this working? I'm having the same issue.

David-Barrett-MS commented 8 months ago

Latest version of the script changes the throttling handling when timeout errors occur during batch calls. Note that timeout errors themselves are expected during long operations, so the errors themselves aren't an issue. Please test latest version and raise a new issue if needed.