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

Only internal contacts (Users/Mailboxes) showing #15

Closed tastydoosh closed 4 years ago

tastydoosh commented 4 years ago

Hi, I've been trying to get this working. I've had to tweak a few parts of it to work for what I need, but after running it's leaving a folder (with the name I specified) and the only contacts inside are those that are actual users. No contacts added to the exchange contact list appear to have synchronised. Please can you assist? :)

grahamr975 commented 4 years ago

Use the IncludeNonUserContacts switch.

See EWSContactSync.ps1 for more information on the switches.

tastydoosh commented 4 years ago

Use the IncludeNonUserContacts switch.

See EWSContactSync.ps1 for more information on the switches.

Excellent that's worked, you sir are a gentleman and a scholar, thank you!

One other question if you could possibly advise, I'm trying to get these contact folders to replicate in teams.. should that happen too? :)