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
98 stars 21 forks source link

Failed to Sync-ContactList - Internet Explorer engine is not available #79

Open koreytm opened 1 year ago

koreytm commented 1 year ago

Hello,

The error I'm receiving is the following:

ERROR Failed to Sync-ContactList for <email address> The response content cannot be parsed because the Internet Explorer engine is not available, or Internet Explorer's first-launch configuration is not complete. Specify the UseBasicParsing parameter and try again.

It seems that without the use of "UseBasicParsing" in the script, Microsoft's recent decision to forcefully deprecate IE from Windows is conflicting with its completion. I noticed another user with the same issue posted here that firing up an older OS solves this issue, but before I do that I was wondering if anyone has successfully used the UseBasicParsing parameter with this script? If so, would you care to explain how you applied it to the script?

Thank you!

grahamr975 commented 1 year ago

@koreytm

Thanks for the update. It's hard to keep up with all of Microsoft's changes. I can test if "UseBasicParsing" will break anything and let you know. In the meantime, if you're running the script in a properly isolated environment, you could try to reinstall IE for the script to work.

koreytm commented 1 year ago

Thanks, @grahamr975 - That's what I'm doing currently, running an isolated environment. Will keep an eye out if any updates are submitted to the script. Thx again!

koreytm commented 4 months ago

Hi @grahamr975 - Just checking in on this.

Do you foresee any chance of the script migrating away from requiring the use of Internet Explorer? Thanks!

grahamr975 commented 1 month ago

@koreytm I plan to create an entirely new version of the contract sync using Microsoft graph API. This new version won't use internet explorer.