Save shared mailbox sent items to shared mailbox’s own Sent Items folder in Exchange Online

User issue: I have a shared mailbox sales@vorkbaard.eu connected in Outlook from my primary account. If I send mail from the sales box, sent items are stored in my own account, not sales’. My colleages also using the sales mailbox cannot see the mail I send from Sales. How do I automatically store sent items in the shared mailbox’s Sent Items folder?

There are two variables controlling this value:

  • MessageCopyForSendOnBehalfEnabled
  • MessageCopyForSentAsEnabled

To set the value:

Set-Mailbox sales@vorkbaard.eu -MessageCopyForSendOnBehalfEnabled $True
Set-Mailbox sales@vorkbaard.eu -MessageCopyForSentAsEnabled $true

To read the values of all shared mailboxes in the tenant:

Get-Mailbox -RecipientTypeDetails SharedMailbox | Select Alias, MessageCopyForSendOnBehalfEnabled, MessageCopyForSentAsEnabled

Alias     MessageCopyForSendOnBehalfEnabled MessageCopyForSentAsEnabled
-----     --------------------------------- ---------------------------
Sales                                 False                       False
Marketing                             False                       False

Set the value for all shared mailboxes:

Get-Mailbox -recipienttypedetails SharedMailbox | set-mailbox -MessageCopyForSendOnBehalfEnabled $true -MessageCopyForSentAsEnabled $true

Alias     MessageCopyForSendOnBehalfEnabled MessageCopyForSentAsEnabled
-----     --------------------------------- ---------------------------
Sales                                  True                        True
Marketing                              True                        True

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Back to Top