Microsoft Teams returns Shared Mailbox in Search
Hi All,
I was wondering why teams Search shows some SharedMailboxes and some not.
For Example: There are two Shared Mailboxes "SharedForward" and "SharedForwardSMTP" that can be found over Teams Searchbar on Top (does not matter if Teams Web or Teams for Windows).
![](https://icewolffile.blob.core.windows.net/$web/202202/Teams_SharedMailboxes_01.jpg)
The fun part is, that you can even send a chat message or call them
![](https://icewolffile.blob.core.windows.net/$web/202202/Teams_SharedMailboxes_02.jpg)
![](https://icewolffile.blob.core.windows.net/$web/202202/Teams_SharedMailboxes_03.jpg)
![](https://icewolffile.blob.core.windows.net/$web/202202/Teams_SharedMailboxes_04.jpg)
![](https://icewolffile.blob.core.windows.net/$web/202202/Teams_SharedMailboxes_05.jpg)
On the other hand there is a Shared Mailbox Postmaster - that shows no result when searching
![](https://icewolffile.blob.core.windows.net/$web/202202/Teams_SharedMailboxes_06.jpg)
To me, these Accounts all look the same
Get-AzureADUser -SearchString "Sharedfor" | ft DisplayName, UserPrincipalName, *Enabled*
Get-Mailbox -Identity SharedFor | ft Prim*, RecipientTypeDetails, *userAccount*
Get-Mailbox -Identity SharedFor | ft Prim*, RecipientTypeDetails, *userAccount*
![](https://icewolffile.blob.core.windows.net/$web/202202/Teams_SharedMailboxes_07.jpg)
These Accounts do not even have a SIP Address 😂
Get-CsOnlineUser -Identity postmaster@icewolf.ch | fl UserPrincipalName, InterpretedUserType, RegistrarPool, *SIP*
![](https://icewolffile.blob.core.windows.net/$web/202202/Teams_SharedMailboxes_08.jpg)
Check the Postmaster Account
Get-AzureADUser -SearchString "Postmaster" | ft DisplayName, UserPrincipalName, *Enabled*
Get-Mailbox -Identity postmaster | ft Prim*, RecipientTypeDetails, *userAccount*
Get-Mailbox -Identity postmaster | ft Prim*, RecipientTypeDetails, *userAccount*
![](https://icewolffile.blob.core.windows.net/$web/202202/Teams_SharedMailboxes_09.jpg)
Get-CsOnlineUser -Identity postmaster@icewolf.ch | fl UserPrincipalName, InterpretedUserType, RegistrarPool, *SIP*
![](https://icewolffile.blob.core.windows.net/$web/202202/Teams_SharedMailboxes_10.jpg)
I can't spot a diffrence that would matter.
Let's check with the Developer Tools in Teams Web
You can see the call to suggestions - one time returning results - one time not.
https://substrate.office.com/search/api/v1/suggestions?scenario=powerbar&setflight=Teams_BestMatch_3slots_v1,Teams_BestMatch_Channels
Are there somewhere documented the "Attributes" that are used by the Suggestions Query? Please contact me if you know more.
![](https://icewolffile.blob.core.windows.net/$web/202202/Teams_SharedMailboxes_11.jpg)
![](https://icewolffile.blob.core.windows.net/$web/202202/Teams_SharedMailboxes_12.jpg)
![](https://icewolffile.blob.core.windows.net/$web/202202/Teams_SharedMailboxes_13.jpg)
![](https://icewolffile.blob.core.windows.net/$web/202202/Teams_SharedMailboxes_14.jpg)
There exists already some Suggestions in the Feedbackportal - please upvote them
Allow hiding of users from Microsoft Teams
Shared mailboxes can be contacted via Teams chat, confuses users
EDU: Teams will send chat messages to shared mailboxes that don't have Teams without activation of the Information barrier policy
Regards
Andres Bohren
![](https://icewolffile.blob.core.windows.net/$web/logos/teams_logo.png)