Dec 19 2017 06:01 PM
Hello World,
In a total road block here. Here the break down of what I got:
Sync Mail Contacts from AD to Azure AD - No problem.
Run the following commands to filter this contacts into a new Address List for Exchange Online:
Set-AddressList -Identity “\Im not Tell you" -IncludedRecipients MailContacts -ConditionalCompany {(('Im not Tell you.com') -and ('Im not Tell you.net') -and ('Im not Tell you.org'))}
Set-AddressList -Identity “\Im not Tell you" -IncludedRecipients MailContacts -ConditionalCompany "Im not Tell you.com","Im not Tell you.net","Im not Tell you.org"
No matter how I twist PowerShell arm, the filter doesn't apply. First command kinda worked, but just filtered one contact out of hundreds.
Place tell me someone got a better way of filtering Mail Contacts base on Company Name?
Dec 19 2017 11:52 PM
First of all, there are limited sets of attributes you can use for address lists in O365, and in general I'd suggest you use the RecipientFilter parameter. In any case, once you have created the address list, you need to "touch" the objects in order for them to appear in it. Meaning, you need to update any of their properties for them to appear in the newly created AL. Read here: http://support.microsoft.com/kb/2955640
Dec 20 2017 05:45 AM