Messages sent from a shared mailbox not saved to the Sent Items

AHMAD HASSAN 256 Reputation points
2021-02-15T12:41:36.727+00:00

Hello,

Messages sent from a shared mailbox not saved to the Sent Items folder of the shared mailbox in Outlook.

I try PS to showing configuration but the error

Get-MailboxSentItemsConfiguration "SHAREDMAILBOXNAME"

Get-MailboxSentItemsConfiguration : The term 'Get-MailboxSentItemsConfiguration' is not recognized as the name of a cmdlet, function, script  
file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.  
At line:1 char:1  
+ Get-MailboxSentItemsConfiguration "******@domain.com"  
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~  
    + CategoryInfo          : ObjectNotFound: (Get-MailboxSentItemsConfiguration:String) [], CommandNotFoundException  
    + FullyQualifiedErrorId : CommandNotFoundException  

Also try set-mailbox Sent As and Sent on behalfe but the same error

set-mailbox <mail@keyman .com> -MessageCopyForSentAsEnabled $True

set-mailbox <mail@keyman .com> -MessageCopyForSendOnBehalfEnabled $True

Exchange server on-prem 2016 CU 19
How can resolve this issue

Thanks for your support and I'm a waiting your reply

Exchange | Exchange Server | Management
0 comments No comments
{count} votes

Accepted answer
  1. Ashok M 6,846 Reputation points
    2021-02-15T13:15:37.993+00:00

    Hi @AhmadHassan-1209 ,

    Get-MailboxSentItemsConfiguration command applies to Exchange 2010 and not 2016.

    Please follow the steps as mentioned in this article,

    https://www.azure365pro.com/configuring-sent-items-behavior-in-exchange-2016/
    Please Note: Since the web site is not hosted by Microsoft, the link may change without notice. Microsoft does not guarantee the accuracy of this information.

    This can also be achieved using registry, method 2 in below article

    https://learn.microsoft.com/en-us/exchange/troubleshoot/user-and-shared-mailboxes/sent-mail-is-not-saved

    If the above suggestion helps, please click on "Accept Answer" and upvote it.


1 additional answer

Sort by: Most helpful
  1. Anonymous
    2021-02-16T05:39:02.057+00:00

    Hi @AhmadHassan-1209 ,

    As AshokM said, this cmdlet is used only in Exchange 2010.
    68380-image.png

    Also try set-mailbox Sent As and Sent on behalfe but the same error

    Do you mean these when running these two commands on Exchange Management Shell and still gave the ObjectNotFound exception?
    Or if you run on Windows PowerShell?
    I'm not so sure but, if you run these commands on Windows PowerShell which isn't connected with Exchange, it will definitely cause this error.
    Try using EMS or Connect to Exchange servers using remote PowerShell

    Regards,
    Lou


    If the response is helpful, please click "Accept Answer" and upvote it.
    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.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.