Exchange Online : No Hybrid: AADSync to Office 365 Enterprise
Hello, I am working to separate a number of users out of the Default Global Address List and Into a dedicated address list. My thought was to simply (lol) remove the users from all address lists with the Set-Addresslist -Recipient filter MemberOfGroup. Unfortunately when I got to the Default Address book I realized there was no obvious way to edit the filter.
So my current approach is to create new address lists, new global address list and such then apply (every time I get new users). Unfortunately this adds complexity to the solution that I feel should be avoidable. If this were on premise I would go Edit AD and then change the address list: * msExchRecipientFilterFlags. Unfortunately, I am not sure if that is even possible with Office 365. (Maybe I could ask one of the support folks to Flip the switch for a miniute? )
I would like any alternative approaches to consider as well as ideas to accomplish the below two Items:
1. Modify the Default Global Address Recipient Filter, or Change The Default Global Address List to a new one that I create.
2. Apply Addressbook Policy as default. Meaning, I would not be required to specify an address book policy for new users provisioned.
Commands Attempted.
Set-GlobalAddresslist -Identity (\Default Global Address List) -RecipientFilter {((MemberOfGroup -ne 'CN=XXXXX,OU=XXXXX,OU=XXXXX,DC=XXXXX,DC=XXXXX,DC=XXXXX,DC=XXXXX') -and (Alias -ne '$null' -and ObjectClass -eq 'user' -or ObjectClass -eq'contact' -or ObjectClass
-eq 'msExchSystemMailbox' -or ObjectClass -eq 'msExchDynamicDistributionList' -or ObjectClass -eq 'group' -or ObjectClass -eq 'publicFolder'))}
Set-GlobalAddresslist -identity "Default Global Address list" -isDefaultGlobalAddressList $FALSE
Thanks in advance for any further tho