Get Sent Items behavior Exchange Onprem
Hello,
On Exchange on prem, you have two ways to manage how sent items are handle with shared mailboxes. You can use the GPO way, or you can modify a set the behavior on the mailboxes.
Note: You should not use both, it could duplicate mails, you need to choose one.
Set Sent Items behavior Exchange Onprem
You can change the default behavior with the cmdlet
- Set-MailboxSentItemsConfiguration for Exchange 2010
- Set-Mailbox -MessageCopyForSentAsEnabled for Exchange 2013
Get Sent Items behavior Exchange Onprem
You can check the applied settings with PowerShell, there is two ways, one for Exchange 2010 and one for Exchange 2013.
Exchange 2010
$AllMailboxes = Get-Mailbox -ResultSize Unlimited ForEach($mbx in $AllMailboxes){ $temp = Get-MailboxSentItemsConfiguration -Identity $mbx.DistinguishedName New-Object -TypeName PSObject -Property @{ Name = $mbx.Alias SendAsItemsCopiedTo = $temp.SendAsItemsCopiedTo SendOnBehalfOfItemsCopiedTo = $temp.SendOnBehalfOfItemsCopiedTo } }
Exchange 2013
Get-Mailbox | Select-Object -Property DisplayName,MessageCopy*
You can use use to assess your Exchange deployment.
Exchange Online
For Exchange Online, you may want to stick with client registry keys, in my testing this is the method with the higher success rate. If you are in the process of migrating from Exchange OnPrem to Exchange Online, you really need to handle the transition properly to avoid duplicate sent items.