-
-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Exclusion switches do not work #54
Comments
Choffman, The ExcludeSharedMailboxContacts switch does not sync contacts that don't have a WindowsEmailAddress and a legitimate mailbox. Secondly, the ExcludeContactsWithoutPhoneNumber switch does not sync contacts that don't have a Phone or Mobile phone. Hopefully, this helps clear up any confusion. Could you please include a sanitized log? |
Thanks for the quick response. I am working sanitizing a long, but I can tell you that all of our shared mailboxes are being synced. I will get the sanitized log added soon. |
I think I have something wrong with my syntax of running the batch file: PowerShell.exe -ExecutionPolicy Bypass ^ |
Try the below instead PowerShell.exe -ExecutionPolicy Bypass ^ |
Well that one ran at least, but it all of the shared contacts and regular users. |
After reviewing the code again, can you please try to set HiddenFromAddressListsEnabled to true for the mailboxes you want to hide from the script/GAL? Let me know if this solution works for you. |
I have the switches to ExcludeContactsWithoutPhoneNumber and ExcludeSharedMailboxContacts enabled, but contacts that are under both categories still sync
The text was updated successfully, but these errors were encountered: