{"id":3625,"date":"2019-07-19T07:47:11","date_gmt":"2019-07-19T05:47:11","guid":{"rendered":"https:\/\/www.msb365.blog\/?p=3625"},"modified":"2023-06-23T13:06:48","modified_gmt":"2023-06-23T11:06:48","slug":"free-busy","status":"publish","type":"post","link":"https:\/\/www.msb365.blog\/?p=3625","title":{"rendered":"Create an Exchange federation between Exchange and Office 365 Organization"},"content":{"rendered":"<h3>Prolog<\/h3>\n<p>Recently I had a small project by one of my customers. This customer company has bought another company and one part of the project was to bring this two companies\u00a0 closer to each other step by step.<\/p>\n<p>However, one of the project points was to create a federation between both Organizations. One company \u2013 let us name it Contoso, had an on-premise Exchange environment and the other company \u2013 let us call it Fabrikam has an Exchange online environment.<\/p>\n<p>The goal with this action was that both companies are able to share the calendar free\/busy information, that they are able to schedule meetings and meeting rooms with each other.<\/p>\n<p>\u00a0<\/p>\n<h3>Let\u2019s start \u2013 on-premise Exchange<\/h3>\n<p>To be able to perform the steps on the on-premise Exchange, I had to make some few pre-tasks.<\/p>\n<p>First, I had to make sure, that my account had the Exchange administrator rights.<\/p>\n<p>After my account was ready, I had also to get access to the public DNS Zone, here we will need to create a TXT-Record to verify the Organization.<\/p>\n<p>The third point I had to make sure was, to check if the Autodiscover was working correctly.<\/p>\n<p>Note: If you also plan to create a federation trust between two organizations you need to make sure, that the Autodiscover configuration works without any problems! This is very important otherwise you will end up with only one-way calendar free\/busy sharing.<\/p>\n<p>After all, pre tasks for the on-premise site are done and Autodiscover is working fine, we\u00a0 can now <span style=\"font-size: inherit;\">start with the configuration of the federation from the on-premise Exchange site.<\/span><\/p>\n<p>Now I had to login to the EAC with the account who has the Exchange admin rights:<\/p>\n<p><img fetchpriority=\"high\" decoding=\"async\" class=\"alignnone size-full wp-image-3627\" src=\"https:\/\/msb365.abstergo.ch\/wp-content\/uploads\/2019\/07\/1-2.png\" alt=\"\" width=\"1255\" height=\"803\" srcset=\"https:\/\/msb365.abstergo.ch\/wp-content\/uploads\/2019\/07\/1-2.png 1255w, https:\/\/msb365.abstergo.ch\/wp-content\/uploads\/2019\/07\/1-2-300x192.png 300w, https:\/\/msb365.abstergo.ch\/wp-content\/uploads\/2019\/07\/1-2-768x491.png 768w, https:\/\/msb365.abstergo.ch\/wp-content\/uploads\/2019\/07\/1-2-1024x655.png 1024w, https:\/\/msb365.abstergo.ch\/wp-content\/uploads\/2019\/07\/1-2-600x384.png 600w, https:\/\/msb365.abstergo.ch\/wp-content\/uploads\/2019\/07\/1-2-905x579.png 905w\" sizes=\"(max-width: 1255px) 100vw, 1255px\" \/><\/p>\n<p>\u00a0<\/p>\n<p>After the login, I had to browse <strong>organization<\/strong> > <strong>sharing<\/strong>:<\/p>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-3628\" src=\"https:\/\/msb365.abstergo.ch\/wp-content\/uploads\/2019\/07\/2-1.png\" alt=\"\" width=\"1243\" height=\"846\" srcset=\"https:\/\/msb365.abstergo.ch\/wp-content\/uploads\/2019\/07\/2-1.png 1243w, https:\/\/msb365.abstergo.ch\/wp-content\/uploads\/2019\/07\/2-1-300x204.png 300w, https:\/\/msb365.abstergo.ch\/wp-content\/uploads\/2019\/07\/2-1-768x523.png 768w, https:\/\/msb365.abstergo.ch\/wp-content\/uploads\/2019\/07\/2-1-1024x697.png 1024w, https:\/\/msb365.abstergo.ch\/wp-content\/uploads\/2019\/07\/2-1-600x408.png 600w, https:\/\/msb365.abstergo.ch\/wp-content\/uploads\/2019\/07\/2-1-905x616.png 905w\" sizes=\"(max-width: 1243px) 100vw, 1243px\" \/><\/p>\n<p>\u00a0<\/p>\n<p><strong>Note for the next step:<\/strong> If there is not configured any federation trust, you will have to click on <strong>enable<\/strong>. This will start the federation trust wizard, this wizard is a straight forward setup and once when the wizard is done, you only need to click on <strong>close<\/strong>.<\/p>\n<p>\u00a0<\/p>\n<p>From this point I was continuing the federation configuration.<\/p>\n<p>In the next step I had to continue under <strong>federation<\/strong> <strong>trust<\/strong> with the option <strong>modify<\/strong>:<\/p>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-3629\" src=\"https:\/\/msb365.abstergo.ch\/wp-content\/uploads\/2019\/07\/3-1.png\" alt=\"\" width=\"731\" height=\"418\" srcset=\"https:\/\/msb365.abstergo.ch\/wp-content\/uploads\/2019\/07\/3-1.png 731w, https:\/\/msb365.abstergo.ch\/wp-content\/uploads\/2019\/07\/3-1-300x172.png 300w, https:\/\/msb365.abstergo.ch\/wp-content\/uploads\/2019\/07\/3-1-600x343.png 600w\" sizes=\"(max-width: 731px) 100vw, 731px\" \/><\/p>\n<p>\u00a0<\/p>\n<p>A new windows is opening called <strong>Sharing-Enabled Domains<\/strong>, here I had to click on <strong>browse<\/strong>. In the menu <strong>Select Accepted Domains<\/strong> I had to select the <strong>primary domain<\/strong> name of the on-premise exchange setup and then I clicked <strong>OK<\/strong> to continue.<\/p>\n<p>The continuation at this point was, that exchange creates a federation trust with the Azure AD authentication system. I also got promoted a TXT-Record on the windows, this TXT-Record I need to create in the public DNS zone of my primary domain which I had chosen to create the federation trust.<\/p>\n<p><strong>Note<\/strong>: Creating a public DNS Record can take up to 24h till it is replicated world wide.<\/p>\n<p>In the most of my cases I had to wait plus\/minus 15min till I was able to continue with my configuration. So, once I had created the record and after drinking one coffee, I clicked on <strong>Update<\/strong> for continuation.<\/p>\n<p>When all this tasks are done, our window <strong>Sharing-Enabled Domains<\/strong> will look like the example below. It has created a unique <strong>federation trust namespace<\/strong> and it registered it with the Azure AD authentication system.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-3630\" src=\"https:\/\/msb365.abstergo.ch\/wp-content\/uploads\/2019\/07\/4-1.png\" alt=\"\" width=\"645\" height=\"742\" srcset=\"https:\/\/msb365.abstergo.ch\/wp-content\/uploads\/2019\/07\/4-1.png 645w, https:\/\/msb365.abstergo.ch\/wp-content\/uploads\/2019\/07\/4-1-261x300.png 261w, https:\/\/msb365.abstergo.ch\/wp-content\/uploads\/2019\/07\/4-1-600x690.png 600w\" sizes=\"(max-width: 645px) 100vw, 645px\" \/><\/p>\n<p>\u00a0<\/p>\n<p>At this point we can add additional domains to the trust, I simply had to click on the \u201c<strong>+<\/strong>\u201d Icon and add the additional Domain I want, clicking <strong>OK<\/strong> and then <strong>Update<\/strong> for exiting.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-3631\" src=\"https:\/\/msb365.abstergo.ch\/wp-content\/uploads\/2019\/07\/5-2.png\" alt=\"\" width=\"466\" height=\"575\" srcset=\"https:\/\/msb365.abstergo.ch\/wp-content\/uploads\/2019\/07\/5-2.png 466w, https:\/\/msb365.abstergo.ch\/wp-content\/uploads\/2019\/07\/5-2-243x300.png 243w\" sizes=\"(max-width: 466px) 100vw, 466px\" \/><\/p>\n<p>\u00a0<\/p>\n<p>One of the last steps is now to add a new sharing. Click on the \u201c<strong>+<\/strong>\u201d symbol and create the <strong>Organization relationship<\/strong>:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-3632\" src=\"https:\/\/msb365.abstergo.ch\/wp-content\/uploads\/2019\/07\/5-1-1.png\" alt=\"\" width=\"726\" height=\"633\" srcset=\"https:\/\/msb365.abstergo.ch\/wp-content\/uploads\/2019\/07\/5-1-1.png 726w, https:\/\/msb365.abstergo.ch\/wp-content\/uploads\/2019\/07\/5-1-1-300x262.png 300w, https:\/\/msb365.abstergo.ch\/wp-content\/uploads\/2019\/07\/5-1-1-600x523.png 600w\" sizes=\"(max-width: 726px) 100vw, 726px\" \/><\/p>\n<p>\u00a0<\/p>\n<p>I configured the sharing policies, and finished this task with clicking on <strong>Save<\/strong>.<\/p>\n<p>\u00a0<\/p>\n<p>*Configuring Exchange online<\/p>\n<p>To configure the other site of the Exchange federation, we continue with the Office 365 site. Here we also need to prepare one thing before we start.<\/p>\n<p>The account we want to use for the configuration needs global administrator privileges for the Office 365 tenant.<\/p>\n<p>\u00a0<\/p>\n<p>Now I had to login to the Office 365 Tenant of the Fabrikam company, to be more precise to the Exchange online EAC. The link for that is <a href=\"https:\/\/outlook.office.com\/ecp\">https:\/\/outlook.office.com\/ecp<\/a><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-3633\" src=\"https:\/\/msb365.abstergo.ch\/wp-content\/uploads\/2019\/07\/6.png\" alt=\"\" width=\"1119\" height=\"654\" srcset=\"https:\/\/msb365.abstergo.ch\/wp-content\/uploads\/2019\/07\/6.png 1119w, https:\/\/msb365.abstergo.ch\/wp-content\/uploads\/2019\/07\/6-300x175.png 300w, https:\/\/msb365.abstergo.ch\/wp-content\/uploads\/2019\/07\/6-768x449.png 768w, https:\/\/msb365.abstergo.ch\/wp-content\/uploads\/2019\/07\/6-1024x598.png 1024w, https:\/\/msb365.abstergo.ch\/wp-content\/uploads\/2019\/07\/6-600x351.png 600w, https:\/\/msb365.abstergo.ch\/wp-content\/uploads\/2019\/07\/6-905x529.png 905w\" sizes=\"(max-width: 1119px) 100vw, 1119px\" \/><\/p>\n<p>\u00a0<\/p>\n<p>After the login I had to browse again to <strong>Organization<\/strong> > <strong>sharing<\/strong>. Here I clicked on the \u201c<strong>+<\/strong>\u201d Icon for a new organization relationship.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-3634\" src=\"https:\/\/msb365.abstergo.ch\/wp-content\/uploads\/2019\/07\/7.png\" alt=\"\" width=\"991\" height=\"763\" srcset=\"https:\/\/msb365.abstergo.ch\/wp-content\/uploads\/2019\/07\/7.png 991w, https:\/\/msb365.abstergo.ch\/wp-content\/uploads\/2019\/07\/7-300x231.png 300w, https:\/\/msb365.abstergo.ch\/wp-content\/uploads\/2019\/07\/7-768x591.png 768w, https:\/\/msb365.abstergo.ch\/wp-content\/uploads\/2019\/07\/7-600x462.png 600w, https:\/\/msb365.abstergo.ch\/wp-content\/uploads\/2019\/07\/7-905x697.png 905w\" sizes=\"(max-width: 991px) 100vw, 991px\" \/><\/p>\n<p>\u00a0<\/p>\n<p>In the new window, I had to fill the information about the Office 365 domain and set the sharing permissions as I desired.<\/p>\n<p><strong>Note<\/strong>: I really recommend to everyone to use the same permission on both sites. This will prevent you in the future from some headache if you need to make a troubleshooting.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-3635\" src=\"https:\/\/msb365.abstergo.ch\/wp-content\/uploads\/2019\/07\/8.png\" alt=\"\" width=\"722\" height=\"634\" srcset=\"https:\/\/msb365.abstergo.ch\/wp-content\/uploads\/2019\/07\/8.png 722w, https:\/\/msb365.abstergo.ch\/wp-content\/uploads\/2019\/07\/8-300x263.png 300w, https:\/\/msb365.abstergo.ch\/wp-content\/uploads\/2019\/07\/8-600x527.png 600w\" sizes=\"(max-width: 722px) 100vw, 722px\" \/><\/p>\n<p>\u00a0<\/p>\n<p>At this point the whole configuration is done and I was ready to test the free\/busy functionality.<\/p>\n<p>Depending on the on-premise Environment size the replication between the Exchange server can take a wile. If the free\/busy sharing is not working straight away, you need to be passioned \u2013 or try to restart the IIS on the on-premise site. In my experience, this can help too.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Prolog Recently I had a small project by one of my customers. This customer company has bought another company and one part of the project was to bring this two companies\u00a0 closer to each other step by step. However, one of the project points was to create a federation between both Organizations. One company \u2013 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":3637,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_crdt_document":"","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],"tags":[],"class_list":["post-3625","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-microsoft-365","category-exchange"],"post_mailing_queue_ids":[],"_links":{"self":[{"href":"https:\/\/www.msb365.blog\/index.php?rest_route=\/wp\/v2\/posts\/3625","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=3625"}],"version-history":[{"count":4,"href":"https:\/\/www.msb365.blog\/index.php?rest_route=\/wp\/v2\/posts\/3625\/revisions"}],"predecessor-version":[{"id":5186,"href":"https:\/\/www.msb365.blog\/index.php?rest_route=\/wp\/v2\/posts\/3625\/revisions\/5186"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.msb365.blog\/index.php?rest_route=\/wp\/v2\/media\/3637"}],"wp:attachment":[{"href":"https:\/\/www.msb365.blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=3625"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.msb365.blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=3625"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.msb365.blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=3625"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}