{"id":1513,"date":"2018-03-15T09:38:38","date_gmt":"2018-03-15T07:38:38","guid":{"rendered":"https:\/\/msb365.abstergo.ch\/?p=1513"},"modified":"2023-06-23T13:25:23","modified_gmt":"2023-06-23T11:25:23","slug":"enabeling-sent-items-copy-features-with-exchange-online-for-shared-mailboxes","status":"publish","type":"post","link":"https:\/\/www.msb365.blog\/?p=1513","title":{"rendered":"Enabling Sent Items Copy features with Exchange online for shared mailboxes"},"content":{"rendered":"<p>Shared mailboxes are great. They can be used for a variety of scenarios within your environment.<\/p>\n<p>\u00a0<\/p>\n<h4>What is that for a feature?<\/h4>\n<p>Emails can be sent as the shared mailbox itself or on behalf of it by member(s) of the mailbox, assuming proper permissions have been granted. This feature is designed to retain a copy of an email sent from the shared mailbox in the Sent Items folder of the shared mailbox. The same behavior can be expected for emails sent on behalf of the shared mailbox, when configured to do so.<\/p>\n<p><strong>Note<\/strong>: If the user has used the Outlook 2013 feature to change the folder that sent items are saved to, the messages will be copied to that folder instead of the user\u2019s Sent Items folder. Users can reconfigure this by clicking the \u201cSave Sent Items To\u201d button on the Email Options tab.<\/p>\n<p>\u00a0<\/p>\n<h4>How to enable<\/h4>\n<p>So let\u2019s have a look in the Office 365 Portal and what kind of options we have for shared mailboxes on Exchange online. After we have made a login to our portal, we browse to Groups and expand this menu:<\/p>\n<p><img fetchpriority=\"high\" decoding=\"async\" class=\"alignnone size-full wp-image-1514\" src=\"https:\/\/msb365.abstergo.ch\/wp-content\/uploads\/2018\/03\/1-2.png\" alt=\"\" width=\"1134\" height=\"783\" srcset=\"https:\/\/msb365.abstergo.ch\/wp-content\/uploads\/2018\/03\/1-2.png 1134w, https:\/\/msb365.abstergo.ch\/wp-content\/uploads\/2018\/03\/1-2-300x207.png 300w, https:\/\/msb365.abstergo.ch\/wp-content\/uploads\/2018\/03\/1-2-768x530.png 768w, https:\/\/msb365.abstergo.ch\/wp-content\/uploads\/2018\/03\/1-2-1024x707.png 1024w, https:\/\/msb365.abstergo.ch\/wp-content\/uploads\/2018\/03\/1-2-600x414.png 600w, https:\/\/msb365.abstergo.ch\/wp-content\/uploads\/2018\/03\/1-2-780x539.png 780w\" sizes=\"(max-width: 1134px) 100vw, 1134px\" \/><\/p>\n<p><a id=\"remove-post-thumbnail\" href=\"https:\/\/msb365.abstergo.ch\/wp-admin\/post.php?post=1513&action=edit#\">Remove featured image<\/a><\/p>\n<p>Now let\u2019s choose the mailbox on which we want to enable the sent item copy feature:<\/p>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-1515\" src=\"https:\/\/msb365.abstergo.ch\/wp-content\/uploads\/2018\/03\/2-2.png\" alt=\"\" width=\"748\" height=\"935\" srcset=\"https:\/\/msb365.abstergo.ch\/wp-content\/uploads\/2018\/03\/2-2.png 748w, https:\/\/msb365.abstergo.ch\/wp-content\/uploads\/2018\/03\/2-2-240x300.png 240w, https:\/\/msb365.abstergo.ch\/wp-content\/uploads\/2018\/03\/2-2-600x750.png 600w\" sizes=\"(max-width: 748px) 100vw, 748px\" \/><\/p>\n<p>\u00a0<\/p>\n<p>This is what we want to enable! There are two toggles here, for send as the mailbox, and sent on behalf of the mailbox. Enabling these options and clicking Save will now show the Sent items row as \u201cCopied to mailbox\u201d instead of \u201cNot copied to mailbox\u201d on the information panel.<\/p>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-1516\" src=\"https:\/\/msb365.abstergo.ch\/wp-content\/uploads\/2018\/03\/3-2.png\" alt=\"\" width=\"942\" height=\"679\" srcset=\"https:\/\/msb365.abstergo.ch\/wp-content\/uploads\/2018\/03\/3-2.png 942w, https:\/\/msb365.abstergo.ch\/wp-content\/uploads\/2018\/03\/3-2-300x216.png 300w, https:\/\/msb365.abstergo.ch\/wp-content\/uploads\/2018\/03\/3-2-768x554.png 768w, https:\/\/msb365.abstergo.ch\/wp-content\/uploads\/2018\/03\/3-2-600x432.png 600w, https:\/\/msb365.abstergo.ch\/wp-content\/uploads\/2018\/03\/3-2-780x562.png 780w\" sizes=\"(max-width: 942px) 100vw, 942px\" \/><\/p>\n<p>\u00a0<\/p>\n<p>\u00a0<\/p>\n<h4>Verify with PowerShell<\/h4>\n<p>After we have activated the options for the shared mailbox we wanted, we can connect to the exchange online remote PowerShell and check the settings:<\/p>\n<p>If we run the following command:<\/p>\n<pre class=\"\">Get-Mailbox -Identity sharedmailbox@contoso.com | FL<\/pre>\n<p>It will bring up these two attributes, which we just changed earlier in this article:<\/p>\n<pre class=\"\">MessageCopyForSentAsEnabled : True\r\n\r\nMessageCopyForSendOnBehalfEnabled : True<\/pre>\n<p>Of course, we are also able to set these attributes for shared mailboxes by PowerShell. The command for this is:<\/p>\n<pre class=\"\">Set-Mailbox -Identity sharedmailbox@contoso.com -MessageCopyForSendOnBehalfEnabled $true -MessageCopyForSentAsEnabled $true<\/pre>\n<p>However, how about multiple shared mailboxes. We could write a script with a few variables, or we just keep it simple\u2026 I prefer the 2nd option\u2026 To enable this feature for all of our shared mailboxes, we need to run the following command:<\/p>\n<pre class=\"\">Get-Mailbox -RecipientTypeDetails shared | Where-Object{$_.messagecopyforsentasenabled -eq \"\"} | Set-Mailbox -MessageCopyForSendOnBehalfEnabled $true -MessageCopyForSentAsEnabled $true<\/pre>\n<p>Now all magic is done! We\u00b4ve just enabled the (really cool) feature for all of our shared mailboxes. I hope this article was a little inspiration, or at least a little help for you\u2026<\/p>\n<p>\ud83d\ude42<\/p>\n<p>\u00a0<\/p>\n<p>\u00a0<\/p>\n<p>\u00a0<\/p>\n<p>Photo by\u00a0<a href=\"https:\/\/unsplash.com\/photos\/QEaaNxlrKII?utm_source=unsplash&utm_medium=referral&utm_content=creditCopyText\">Annie Spratt<\/a>\u00a0on\u00a0<a href=\"https:\/\/unsplash.com\/search\/photos\/items-envelope?utm_source=unsplash&utm_medium=referral&utm_content=creditCopyText\">Unsplash<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Shared mailboxes are great. They can be used for a variety of scenarios within your environment. \u00a0 What is that for a feature? Emails can be sent as the shared mailbox itself or on behalf of it by member(s) of the mailbox, assuming proper permissions have been granted. This feature is designed to retain a [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":3133,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"om_disable_all_campaigns":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"_uf_show_specific_survey":0,"_uf_disable_surveys":false,"footnotes":""},"categories":[1923,2,3],"tags":[],"class_list":["post-1513","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-microsoft-365","category-exchange","category-powershell"],"post_mailing_queue_ids":[],"_links":{"self":[{"href":"https:\/\/www.msb365.blog\/index.php?rest_route=\/wp\/v2\/posts\/1513","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.msb365.blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.msb365.blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.msb365.blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.msb365.blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1513"}],"version-history":[{"count":9,"href":"https:\/\/www.msb365.blog\/index.php?rest_route=\/wp\/v2\/posts\/1513\/revisions"}],"predecessor-version":[{"id":5241,"href":"https:\/\/www.msb365.blog\/index.php?rest_route=\/wp\/v2\/posts\/1513\/revisions\/5241"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.msb365.blog\/index.php?rest_route=\/wp\/v2\/media\/3133"}],"wp:attachment":[{"href":"https:\/\/www.msb365.blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1513"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.msb365.blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1513"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.msb365.blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1513"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}