Thursday, November 9, 2023

Powershell - Exchange Online - Shared Mailboxes - Enable automatic copy of sent items

 

When you create a shared mailbox in Exchange Online (EXO) by default the sent items will end up in your main mailbox sent items.

That's a bit annoying since if you want others, that have access to the shared mailbox, to see your replies, you'll need to manually copy, or create a rule for it.

But there's a solution, and you just need to follow these steps using PowerShell:

  1. Connect to Exchange Online:
    Connect-ExchangeOnline -UserPrincipalName yourusername@upn.com

  2. Next, if you what check the current status for sent items:
    Get-Mailbox sharedmailbox | select MessageCopyForSentAsEnabled

  3. To enable automatic sent items copy:
    Set-Mailbox sharedmailbox -MessageCopyForSentAsEnabled $True

And you're done! :)

No comments:

Post a Comment