Forum Discussion
tcboeira
Feb 10, 2023Brass Contributor
Difficulties in creating Personalized Address Lists
Hi Good Morning Friends, 1) First of all, as always, I apologize if the words seem strange. I don't speak English and I use an online translator 2) Well, having said that, I have a doubt that...
- Feb 12, 2023Well if you've cleared the value of CustomAttribute11, those mailboxes will definitely not appear in the newly created AL. If you are using the recipient filter shown above, set the value of CustomAttribute11 for few mailboxes, give it few minutes and check the AL membership (preferably in OWA). The "touch" part needs to be done once the AL is created, and you can use any attribute, such as changing the CustomAttribute11 from $null to something in this scenario.
tcboeira
Feb 11, 2023Brass Contributor
Hello again...
After two hours it didn't have the desired effect...
When querying the return is the following:
Get-AddressList 'DOMAIN1'
Name DisplayName RecipientFilter
---- ----------- ---------------
DOMAIN1 DOMAIN1 ((CustomAttribute11 -eq 'DOMAIN1') -and (RecipientType -eq 'UserMailbox'))
Where could I be going wrong?!
After two hours it didn't have the desired effect...
When querying the return is the following:
Get-AddressList 'DOMAIN1'
Name DisplayName RecipientFilter
---- ----------- ---------------
DOMAIN1 DOMAIN1 ((CustomAttribute11 -eq 'DOMAIN1') -and (RecipientType -eq 'UserMailbox'))
Where could I be going wrong?!
VasilMichev
Feb 12, 2023MVP
Well if you've cleared the value of CustomAttribute11, those mailboxes will definitely not appear in the newly created AL. If you are using the recipient filter shown above, set the value of CustomAttribute11 for few mailboxes, give it few minutes and check the AL membership (preferably in OWA). The "touch" part needs to be done once the AL is created, and you can use any attribute, such as changing the CustomAttribute11 from $null to something in this scenario.
- tcboeiraFeb 15, 2023Brass ContributorHello friends,
Hello Vasil Michev,
Sorry for the delay in replying...
Well, exactly as you described, I was anxious to quickly see the result and realized that when I configured the Attribute, in about 10 minutes the list was filled with contacts. And when I cleared the attribute logically the content of the list disappears.
The "play" as mentioned, I created a loop about 3x and it was surprisingly fast. Very show indeed.
The difficulty itself has been resolved and I am very grateful for your help. Thank you very much.
Finally, I'm just creating one more test using "-ConditionalCompany", but this one takes too long to populate the list. I think I'll opt for the Attribute I had tested before.
But again, thank you very much
PS: How do I mark the situation as resolved?