{"id":259,"date":"2015-05-07T12:47:16","date_gmt":"2015-05-07T12:47:16","guid":{"rendered":"https:\/\/www.lieben.nu\/liebensraum\/?p=259"},"modified":"2015-05-07T12:47:16","modified_gmt":"2015-05-07T12:47:16","slug":"sync-disabled-users-shared-mailboxes-to-office-365-with-azure-active-directory-sync","status":"publish","type":"post","link":"https:\/\/lieben.nu\/liebensraum\/2015\/05\/sync-disabled-users-shared-mailboxes-to-office-365-with-azure-active-directory-sync\/","title":{"rendered":"Sync disabled users (shared mailboxes) to Office 365 with Azure Active Directory Sync"},"content":{"rendered":"<p>I often hear customers who run an onpremises Exchange 2010 or 2013 environment in Hybrid mode with Office 365 complain about their Shared Mailboxes not appearing in Office 365 when using AADSync (or AADConnect).<\/p>\n<p>This is important for mail routing if they don&#8217;t exist as contacts, or if you are using<a href=\"https:\/\/products.office.com\/en-us\/exchange\/microsoft-exchange-online-protection-email-filter-and-anti-spam-protection-email-security-email-spam\" target=\"_blank\">\u00a0Exchange Online Protection<\/a> for these mailboxes.<\/p>\n<p>So, two quick steps to configure AADSync to also sync disabled users to Office 365.<!--more--><\/p>\n<p>1. \u00a0Open the Synchronization Rules Editor on the aadsync server and edit the inbound rule called User AccountEnabled<\/p>\n<p><a href=\"https:\/\/www.lieben.nu\/liebensraum\/wp-content\/uploads\/2015\/05\/Conns-AADSYNC01-Royal-TS_2015-05-07_14-31-53.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-260\" src=\"https:\/\/www.lieben.nu\/liebensraum\/wp-content\/uploads\/2015\/05\/Conns-AADSYNC01-Royal-TS_2015-05-07_14-31-53.png\" alt=\"Conns - AADSYNC01 - Royal TS_2015-05-07_14-31-53\" width=\"958\" height=\"622\" srcset=\"https:\/\/lieben.nu\/liebensraum\/wp-content\/uploads\/2015\/05\/Conns-AADSYNC01-Royal-TS_2015-05-07_14-31-53.png 958w, https:\/\/lieben.nu\/liebensraum\/wp-content\/uploads\/2015\/05\/Conns-AADSYNC01-Royal-TS_2015-05-07_14-31-53-300x195.png 300w, https:\/\/lieben.nu\/liebensraum\/wp-content\/uploads\/2015\/05\/Conns-AADSYNC01-Royal-TS_2015-05-07_14-31-53-768x499.png 768w\" sizes=\"auto, (max-width: 958px) 100vw, 958px\" \/><\/a><\/p>\n<p>2. \u00a0Change the scoping filter of this rule to ISNOTNULL instead of a bit operator<a href=\"https:\/\/www.lieben.nu\/liebensraum\/wp-content\/uploads\/2015\/05\/Conns-AADSYNC01-Royal-TS_2015-05-07_14-43-47.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-261\" src=\"https:\/\/www.lieben.nu\/liebensraum\/wp-content\/uploads\/2015\/05\/Conns-AADSYNC01-Royal-TS_2015-05-07_14-43-47.png\" alt=\"Conns - AADSYNC01 - Royal TS_2015-05-07_14-43-47\" width=\"931\" height=\"611\" srcset=\"https:\/\/lieben.nu\/liebensraum\/wp-content\/uploads\/2015\/05\/Conns-AADSYNC01-Royal-TS_2015-05-07_14-43-47.png 931w, https:\/\/lieben.nu\/liebensraum\/wp-content\/uploads\/2015\/05\/Conns-AADSYNC01-Royal-TS_2015-05-07_14-43-47-300x197.png 300w, https:\/\/lieben.nu\/liebensraum\/wp-content\/uploads\/2015\/05\/Conns-AADSYNC01-Royal-TS_2015-05-07_14-43-47-768x504.png 768w\" sizes=\"auto, (max-width: 931px) 100vw, 931px\" \/><\/a><\/p>\n<p>Voila, your disabled useraccounts will now properly sync to Microsoft Office 365.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I often hear customers who run an onpremises Exchange 2010 or 2013 environment in Hybrid mode with Office 365 complain about their Shared Mailboxes not appearing in Office 365 when using AADSync (or AADConnect). This is important for mail routing if they don&#8217;t exist as contacts, or if you are using\u00a0Exchange Online Protection for these &hellip; <a href=\"https:\/\/lieben.nu\/liebensraum\/2015\/05\/sync-disabled-users-shared-mailboxes-to-office-365-with-azure-active-directory-sync\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Sync disabled users (shared mailboxes) to Office 365 with Azure Active Directory Sync<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_crdt_document":"","footnotes":""},"categories":[15,16,32],"tags":[],"class_list":["post-259","post","type-post","status-publish","format-standard","hentry","category-exchange-2010","category-exchange-2013","category-office-365"],"_links":{"self":[{"href":"https:\/\/lieben.nu\/liebensraum\/wp-json\/wp\/v2\/posts\/259","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lieben.nu\/liebensraum\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lieben.nu\/liebensraum\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lieben.nu\/liebensraum\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/lieben.nu\/liebensraum\/wp-json\/wp\/v2\/comments?post=259"}],"version-history":[{"count":0,"href":"https:\/\/lieben.nu\/liebensraum\/wp-json\/wp\/v2\/posts\/259\/revisions"}],"wp:attachment":[{"href":"https:\/\/lieben.nu\/liebensraum\/wp-json\/wp\/v2\/media?parent=259"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lieben.nu\/liebensraum\/wp-json\/wp\/v2\/categories?post=259"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lieben.nu\/liebensraum\/wp-json\/wp\/v2\/tags?post=259"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}