Avatar of Bash
Bash
Flag for United Kingdom of Great Britain and Northern Ireland asked on

Mail contact users not appearing in Distribution List - Exchange 2013

We have a Hybrid Exchange environment in-place between Exchange 2013 and Exchange Online.

We have created Mail Contacts on our On-Prem Exchange for users whose mailboxes are in Exchange Online. These contacts have then been added to an On-Prem Distribution List. Whilst they appear in the DL properties, they do not appear when the DL is expanded within Outlook therefore do not receive emails sent to that DL.

I've run:

 [PS] C:\Windows\system32>Get-DistributionGroupMember "DL Name" | where {$_.HiddenFromAddressLis
tsEnabled -eq $true}

To ensure no users are marked as Hidden (various online posts point to this being the issue) and also checked the HiddenFromAddressList properties of the DL in question - this is also set to False as expected.

Running the above command with the $false parameter returns 80 address, expanding the list in Outlook returns 66. Some members are themselves lists, does that account for some discrepancy?

I've checked Azure AD Sync and it's working fine.
ExchangeOutlookMicrosoft 365Azure* distribution groups

Avatar of undefined
Last Comment
Bash

8/22/2022 - Mon
Andy M

If you look at the list through Outlook Webmail, does it expand correctly in there or does it look the same as when using Outlook itself?
Bash

ASKER
@Andy M
It's the same - the contacts are not present when expanded.
SOLUTION
Andy M

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
Bash

ASKER
Okay I have some more info to go on now - the user reporting the issue sent the below NDR received earlier -

 I have also now found that the distribution group exists in both the 'groups' section on both Enterprise and Office 365 ECPs but with different members - the O365 list is the one being used in the Outlook GAL as the people sending to that email both have had their mailboxes migrated to Exchange Online (this list does not have the recipient below listed) - why would that be?

Your message to IMCEAEX-_o=<orgname>_ou=Exchange+20Administrative+20Group+20+28FYDIBOHF23xxxx+29_cn=Recipients_cn=b1f31bcdc9d34150b193fe8db71xxxxx-firstname+20lastname@GBRP123.PROD.OUTLOOK.COM couldn't be delivered.
Your email program is using outdated address information for IMCEAEX-_o=<orgname>_ou=Exchange+20Administrative+20Group+20+28FYDIBOHF23xxxx+29_cn=Recipients_cn=b1f31bcdc9d34150b193fe8db71xxxxx-firstname+20lastname@GBRPxxx.PROD.OUTLOOK.COM
ITservicemanagement       Office 365       IMCEAEX-_o=TDWI_ou=E. . .
Action Required             Recipient
                             

Outdated To address             



Error Details
Reported error:      550 5.1.11 RESOLVER.ADR.ExRecipNotFound; Recipient not found by Exchange Legacy encapsulated email address lookup
DSN generated by:
Your help has saved me hundreds of hours of internet surfing.
fblack61
Bash

ASKER
Is the difference because on-prem those 'missing' users who are in the on-prem list are in as mail contacts whereas in the cloud they exist as mailboxes and therefore will not be seen as contacts and need adding in as mailboxes?
ASKER CERTIFIED SOLUTION
Bash

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
⚡ FREE TRIAL OFFER
Try out a week of full access for free.
Find out why thousands trust the EE community with their toughest problems.
Bash

ASKER
It achieved the requirement.