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

MailContact Sync #45

Closed InfoTechB closed 2 years ago

InfoTechB commented 2 years ago

Hi, I'm trying to use the script but instead of syncing only MailUser and UserMailbox (RecipientType), i want to sync the GAL with MailUser + MailContact. I can list MailContact with Get-MailContact I'm trying to add the required commands to the script but I'm having difficulties.

InfoTechB commented 2 years ago

Solved by myself :) just need to add : -IncludeNonUserContacts ^