grahamr975 / EWS-Office365-Contact-Sync

Uses Exchange Web Services to synchronize a Global Address List in Office 365 to a user's mailbox
MIT License
96 stars 21 forks source link

Slow to run #2

Closed AtumVirt closed 4 years ago

AtumVirt commented 4 years ago

The script runs without error in our environment, creates the folder for the mailbox then starts importing contacts but at a rate of about one every 4 minutes. No errors or additional information seemed to be logged.

grahamr975 commented 4 years ago

Removed redundant error handling from the script, along with many unneeded folder reads. Tested run time is now less than 10 seconds per contact. Please let me know if you are still having issues.