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

DIRECTORY Error #4

Closed Jcodedk closed 4 years ago

Jcodedk commented 4 years ago

Hello :)

I'm getting the following error when I wish to apply the GAL to DIRECTORY.

image

but works when I specify what mailbox should get GAL contacts

grahamr975 commented 4 years ago

Thankfully, I was able to reproduce this issue on my machine. To fix this, I added "-AllowClobber" to the Import-PSSession command in the Get-Mailboxes function.

image

Jcodedk commented 4 years ago

Following error is given when I choose "DIRECTORY" image

grahamr975 commented 4 years ago

Can you include the entire transcript? (with sensitive data replaced)

grahamr975 commented 4 years ago

Was able to reproduce, fixed with latest commit: 36f9736f8d2473953e4ffdabc8271d0b88eb3a63

Please download the latest version.