Additional chat-related features and issues within Microsoft Teams for business
Hiding a shared mailbox so that it is completely undiscoverable in Microsoft Teams (by both display name and email address) is not fully supported as a simple, mailbox-only setting.
From the provided information:
- Hiding a recipient (including shared mailboxes) from address lists in Exchange prevents it from appearing in address lists and GAL-based searches, but it does not guarantee that the object is hidden from all Teams search experiences.
- Teams directory search behavior can be scoped and limited using:
- Information barriers in Microsoft Teams
- Exchange Online address book policies (ABPs)
When Scope directory search using an Exchange address book policy is turned on in the Teams admin center, “most accounts that are marked as hidden in Exchange don't show up in Teams searches.” However, this is not described as an absolute guarantee, and personal contacts can still appear regardless of the setting.
Therefore, the supported and documented way to limit discovery of mailboxes (including shared mailboxes) in Teams is:
- Hide the shared mailbox from address lists in Exchange Online.
- Use Exchange address book policies and/or information barriers, and then enable Search by name scoping in the Teams admin center so Teams respects those policies.
There is no explicit documentation in the provided material that guarantees a shared mailbox can be made completely undiscoverable in Teams by both name and email alone, only that:
- Hidden recipients are excluded from address lists and GAL.
- When Teams directory search is scoped using Exchange ABPs, most hidden accounts do not appear in Teams searches.
References: