Save shared mailbox sent items to shared mailbox’s own Sent Items folder in Exchange Online
Posted: 25 Jan 2023, 12:25
ORIGINAL POST: https://www.soiware.it/forum/posting.ph ... 111d27077f
CREDITS TO THE AUTHORS OF THE ORIGINAL POSTS
User issue: I have a shared mailbox sharedmail@mydomain.com 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 colleagues 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:
To read the values of all shared mailboxes in the tenant:
Set the value for all shared mailboxes:
CREDITS TO THE AUTHORS OF THE ORIGINAL POSTS
User issue: I have a shared mailbox sharedmail@mydomain.com 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 colleagues 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
Code: Select all
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:
Code: Select all
Get-Mailbox -RecipientTypeDetails SharedMailbox | Select Alias, MessageCopyForSendOnBehalfEnabled, MessageCopyForSentAsEnabled
Alias MessageCopyForSendOnBehalfEnabled MessageCopyForSentAsEnabled
----- --------------------------------- ---------------------------
Sales False False
Marketing False False
Code: Select all
Get-Mailbox -recipienttypedetails SharedMailbox | set-mailbox -MessageCopyForSendOnBehalfEnabled $true -MessageCopyForSentAsEnabled $true
Alias MessageCopyForSendOnBehalfEnabled MessageCopyForSentAsEnabled
----- --------------------------------- ---------------------------
Sales True True
Marketing True True