Forum Discussion
How do I add a guest mail user to adress lists or create a mail contact using the same email address
- 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 :)
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 :)
- John GruberDec 07, 2017Brass Contributor
What's the best thing to do if I already have the guest user? If I delete the guest user's will they lose access to SharePoint?
- TonyRedmondDec 07, 2017MVPIf you remove the guest user object, that user loses all access to resources in your tenant. You could do that, then create the mail contact, recreate the guest user, and restablish sharing. I don’t have a better suggestion for now as I am on the road.
- Adrian TilkApr 11, 2018Copper Contributor
And how will this work with guest users in teams? Can we edit the username for those contacts, as they are currently uneditable
- TonyRedmondDec 07, 2017MVP
Re. Address Lists - Guest users are deliberately excluded from address lists like the GAL. Guest users are restricted to whatever information they are granted access to (in SharePoint for Groups, or to chats and other content for Teams).
Mail contacts are there if you want someone external to show up in an address list, and you can have a mail contact with the same SMTP address as a guest. That's by design to enable both scenarios because Exchange Online uses mail contacts in a number of different ways, including in hybrid configurations where guests users don't exist.
Eventually, when everyone is in the cloud and guest user objects are supported across all Office 365 apps, we might see a rationalization of the situation.