Forum Discussion
John Gruber
Dec 06, 2017Brass 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 :)
Marc Vanderstraeten
Jan 20, 2021Brass Contributor
squirrelassassin650 When I create a guest user via invitation, and I perform Get-MailUser, it is NOT in the list. Even if I change using Set-AzureADUser the flag to show it ???
squirrelassassin650
Mar 12, 2021Copper Contributor
Did the guest user accept the invitation yet? Under contact in azure ad is the email set? Does the proxyaddress area show both their actual email & your tenant routing domain?
- ChrisAtMafMay 28, 2021Iron ContributorGuest mail users can be managed for distribution group memberships using the new Exchange Admin Center without any issues: https://admin.exchange.microsoft.com/#/
- Aadil TeeluckdharryJan 11, 2022Copper ContributorI found the easier way for me 🙂 Since the users are already guest on my tenant, I used powershell to show them in address book and then uses either the portal to add them to the distribution group or uses powershell.
Powershell to unhide email address : Set-AzureADUser -ObjectId ID_OF_USER -ShowInAddressList $true
Powershell to add user in distribution list : Add-DistributionGroupMember -Identity GROUPNAME -Member (Get-AzureADUser -ObjectId ID_OF_USER).Mail
Hope that it helps.- garyrhowardApr 20, 2022Copper ContributorIf 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?