Save Sent Emails in Shared Mailbox Sent Items Folder (Exchange Online & Microsoft 365)

✨ Quick Fix β€” Save Sent Emails in the Shared Mailbox Sent Items Folder
  • Send As: Set-Mailbox -Identity "[email protected]" -MessageCopyForSentAsEnabled $true
  • Send on Behalf: Set-Mailbox -Identity "[email protected]" -MessageCopyForSendOnBehalfEnabled $true
  • Enable for ALL Shared Mailboxes: Pipe Get-EXOMailbox -RecipientTypeDetails SharedMailbox -ResultSize Unlimited into Set-Mailbox.

By default in Exchange Online (Microsoft 365), when a delegate sends an email As or On Behalf of a Shared Mailbox, the sent message is saved only in the delegate's personal Sent Items folderβ€”making it invisible to other team members using the shared mailbox.

To ensure a copy is also saved in the Shared Mailbox's Sent Items folder, enable MessageCopyForSentAsEnabled and MessageCopyForSendOnBehalfEnabled using Exchange Online PowerShell.


Step 1: Enable Sent Items Copy for One Shared Mailbox

POWERSHELL
Connect-ExchangeOnline -ShowBanner:$false

# Save copies of both "Send As" and "Send on Behalf" emails to the Shared Mailbox Sent Items folder
Set-Mailbox -Identity "[email protected]" `
    -MessageCopyForSentAsEnabled $true `
    -MessageCopyForSendOnBehalfEnabled $true

# Verify the configuration
Get-EXOMailbox -Identity "[email protected]" -Properties MessageCopyForSentAsEnabled, MessageCopyForSendOnBehalfEnabled |
    Select-Object DisplayName, PrimarySmtpAddress, MessageCopyForSentAsEnabled, MessageCopyForSendOnBehalfEnabled

To disable the behavior later, set either parameter to $false.


Step 2: Enable for All Shared Mailboxes in Your Tenant

POWERSHELL
Get-EXOMailbox -RecipientTypeDetails SharedMailbox -ResultSize Unlimited |
    Set-Mailbox -MessageCopyForSentAsEnabled $true -MessageCopyForSendOnBehalfEnabled $true

On-Premises Exchange Server (Set-MailboxSentItemsConfiguration)

For Exchange Server 2013/2016/2019/SE or legacy Exchange 2010 SP2 RU4+, use Get-MailboxSentItemsConfiguration and Set-MailboxSentItemsConfiguration:

POWERSHELL
# Audit current settings
Get-MailboxSentItemsConfiguration -Identity "[email protected]"

# Save Send As and Send on Behalf items to both the Sender and Shared Mailbox
Set-MailboxSentItemsConfiguration -Identity "[email protected]" `
    -SendAsItemsCopiedTo SenderAndFrom `
    -SendOnBehalfOfItemsCopiedTo SenderAndFrom

References & Official Microsoft Documentation

πŸ’¬ Reader Comments & Feedback

Did this runbook help, or did Microsoft change a cmdlet or UI menu? Share your feedback below.