Hi
I've found the Address Book Polices useful, as it clarifies the work flow of creating ADP in exchange.
I have found a bit of a road block - and wondered is anyone would be able to suggest a solution? I have to create a ADP for "Staff" in a school, we have Azure AD with onsite sync (but no exchange server onsite althoough we have extended the schema for exchange).
I have an on premises group lets call it "UG-Staff GAL",
New-GlobalAddressList -Name "GAL-Staff GAL" -RecipientFilter {memberOfGroup -eq "UG-Staff GAL"}
The expected result, is that the GlobalAddressList will have all members of the synced "UG-Staff GAL" group. The reason for this is that the school often asked for groups/Users to be added or removed from the the GAL, and it's not possible to account for the requests via automation. By having an onsite group, I can add/remove "whoever" to this GAL list and it will appear for everyone.
This creates a GAL, and I can use this to create a ABP - but the "GAL-STAFF GAL" is empty.
I've also edited the GAL-STAFF GAL, to set the recipient list as (memberOfGroup -eq "Full distinguished name of group", which doesn't seem have made a difference (GAL still empty)
I've also "ticked" the AD users as suggested in a few articles, and I can only find maybe two articles that address the "memberofgroup" filter on New-GlobalAdrressList, which is inconclusive. The MS pages seem to suggest that it is supported by 0365.