Sent Item showing duplicate send item for an mailbox

lalajee 1,811 Reputation points
2022-06-27T15:41:58.677+00:00

I have created new mailbox using below command

New-RemoteMailbox -Name $DisplayName -Alias $Alias -OnPremisesOrganizationalUnit $OU

Then connect to Office 365 and run below command

Set-Mailbox -Identity "HR@keyman .com" -MessageCopyForSentAsEnabled $true
Set-Mailbox -Identity "HR@keyman .com" -MessageCopyForSendOnBehalfEnabled $true

Then On Office 365 Mailbox/Delegation
added Full access, Send As, Send On behalf permission for the group

Now when I try to send an message from outlook using new mailbox I can see 2 records in sent item

If I change Computer\HKEY_CURRENT_USER\SOFTWARE\Microsoft\Office\16.0\Outlook\Preferences\DelegateSentItemsStyle from 1 to 0 then this stops.

This mailbox has over 100 users and all of them are having same issue.

I would like to know why this is happening and if they is anyway I can fix it remotely without modifying the registry

Exchange Server Management
Exchange Server Management
Exchange Server: A family of Microsoft client/server messaging and collaboration software.Management: The act or process of organizing, handling, directing or controlling something.
7,503 questions
Microsoft Exchange Hybrid Management
Microsoft Exchange Hybrid Management
Microsoft Exchange: Microsoft messaging and collaboration software.Hybrid Management: Organizing, handling, directing or controlling hybrid deployments.
1,999 questions
0 comments No comments
{count} votes

Accepted answer
  1. KyleXu-MSFT 26,246 Reputation points
    2022-06-28T02:18:03.293+00:00

    @lalajee

    Those two emails are copied by "DelegateSentItemsStyle" and "MessageCopyForSentAsEnabled/MessageCopyForSendOnBehalfEnabled"

    I check in my lab, the "DelegateSentItemsStyle" key doesn't exist by default.

    So, if you enable this key on your client, and don't want to disable this one. You will need to disable the MessageCopyForSentAsEnabled and MessageCopyForSendOnBehalfEnabled on this mailbox. In this way, there will not exist duplicate emails.

    Please note: modify on Exchange online need take some time to take effect.


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


    0 comments No comments

0 additional answers

Sort by: Most helpful