Forum Discussion

nbruneau71's avatar
nbruneau71
Copper Contributor
Nov 15, 2021

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 address book policy ?

 

Thanks for your help.

 

Nicolas

11 Replies

    • VasilMichev's avatar
      VasilMichev
      MVP
      Just 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")
      • nbruneau71's avatar
        nbruneau71
        Copper Contributor

        VasilMichev 

         

        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

         

         

         

  • There are no limitations as to adding contacts, just make sure they're covered by the corresponding recipient filters.