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

Folder not found in Mailbox #13

Closed RST185 closed 4 years ago

RST185 commented 4 years ago

I have the problem that the created folder is not found in the personal contacts in the mailbox. the public autodiscover points to Exchange Online, but it cannot find two arguments. enclosed the error message when running the script:

FATAL Failed verify that "" exists for "EMAILADRESS@contoso.de" Exception when calling "AutodiscoverUrl" with 2 argument(s): "The Autodiscover service could not be located." Write log : Failed verify that "GAL" exists for EMAILADRESS@contoso.de In line:56 characters:4

how can i solve this issue?

grahamr975 commented 4 years ago

Are you using Office 365 online? Make sure the account has application impersonation permissions.

grahamr975 commented 4 years ago

Closed due to inactivity.

RST185 commented 4 years ago

Hello,

unfortunately I haven't been available lately. the error occurs only with individual mailboxes. About 98% of the mailboxes work. The user has the Application Impersonation Rights.

An OWA login to the faulty mailboxes is also possible.