Forum Discussion
John Gruber
Dec 06, 2017Iron Contributor
How do I add a guest mail user to adress lists or create a mail contact using the same email address
Hello,
I'm trying to create a mail contact for an external user so we can add the user to an address list. Unfortunately, I can't create the contact because the primary smtp address is taken by...
- Dec 07, 2017
To be honest, it's a bit of a mess as you can actually have the same address added twice:
[10:36:59][Login script]# Get-Recipient tempxxx@abv.bg | Ft Name,RecipientType* Name RecipientType RecipientTypeDetails ---- ------------- -------------------- temp MailContact MailContact tempxxx_abv.bg#EXT# MailUser GuestMailUser
The "trick" is to have the contact first, then provision the Guest account. Doesn't really make much sense to me, but TonyRedmond seems to see the logic in all this and perhaps can explain it better :)
garyrhoward
Apr 20, 2022Copper Contributor
If an organization has Exchange Hybrid (ironically they have no plan to move out of this scenario in the near future), has created contacts and added them to DLs. They require the use of the contacts and DLs on premise for the forseeable future. They have configured AD Connect to synch those contacts and DLs into Azure AD. This has caused an issue when they now wish to create Azure B2B guest users since the contact and guest user proxy address conflicts. I have recommended that they moved those contacts to a separate OU and not synch them to Azure AD to resolve the issue with creating guest users, make those guest users unhidden, and add them to DLs. Does this approach make sense? Any other solution that comes to mind?
garyrhoward
Apr 20, 2022Copper Contributor
Say that many guest users exist in Azure AD. To make them unhidden from the GAL in bulk, will the following PowerShell do the trick:
Get-AzureADUser -Filter "userType eq 'Guest'" | Set-AzureADUser -ShowinAddressList $true
Get-AzureADUser -Filter "userType eq 'Guest'" | Set-AzureADUser -ShowinAddressList $true