Forum Discussion
nbruneau71
Nov 16, 2021Copper Contributor
Separate contact in different (Address Book Policy & GAL)
Hi Guys, I put GAL in place with 2 differents companies. And now I have an issue with the contacts some of them can not be seen by either of the companies any way to affect a contact to an addr...
nbruneau71
Nov 18, 2021Copper Contributor
Thanks Vasil, do you have any examples on how to do it ?
- VasilMichevNov 18, 2021MVPJust add them to any of the address lists included in the ABP, by adjusting the recipient filter. Or create a new address list for them. Or adjust the GAL filter.
If it's just a handful of contacts you want to add, listing them explicitly is easy, something like:
(CustomAttribute15 -eq 'Teams') -or (Alias -eq "Contact1")
A better, more scalable approach would be to use one of the custom attributes, or any other query that will cover all contacts you care about, for example:
(CustomAttribute15 -eq 'Teams') -or (CustomAttribute14 -eq "AddToGal1")- nbruneau71Nov 19, 2021Copper Contributor
Hi Vasil,
ok so the thing is when you create a contact through Microsoft Admin Center, nowhere you can affect a CustomAttribute. (I managed only through PowerShell.
Here are my two ABP :
And here are my AddressList for the contact :
So right now when I create a contact it goes on both AddressList, I guess that I should add the custom attribute ?
Thanks a lot for your help.
Nicolas
- VasilMichevNov 19, 2021MVPIf the idea is to "hide" the contact in one of the ALs/ABPs, then yes, add an exception based on the Custom attribute (any attribute that makes sense for your specific scenario really). With the filters you have currently configured, any newly created contact should appear in both ALs/ABPs.
One thing that I forgot to mention and you need to keep in mind is that in Exchange Online, you need to "touch" objects before they appear in ALs: https://docs.microsoft.com/en-US/exchange/troubleshoot/administration/new-address-lists-not-contains-all-recipients