I have a working script that will connect to a specific mailbox, pull in all the contacts and loop through them. My script is validating and standardizing certain data (like phone numbers). Everything is fine, except the updates are not reflected in the contact when viewed after. Since the update doesn't seem to provide any feedback on success or failure I'm unable to get any insight into what might be wrong.
I've shortened my code enough to give you an idea of what I'm doing. Why aren't the updates saving?