{"id":2090,"date":"2020-04-02T01:00:00","date_gmt":"2020-04-02T01:00:00","guid":{"rendered":"http:\/\/inswwdev.azurewebsites.net\/au\/insights\/uncategorized\/hybrid-free-busy-troubleshooting\/"},"modified":"2020-04-02T01:00:00","modified_gmt":"2020-04-02T01:00:00","slug":"hybrid-free-busy-troubleshooting","status":"publish","type":"post","link":"https:\/\/www.insentragroup.com\/au\/insights\/geek-speak\/professional-services\/hybrid-free-busy-troubleshooting\/","title":{"rendered":"Hybrid Free\/Busy Troubleshooting"},"content":{"rendered":"<p>While supporting another amazing Insentron this week, I was called in to help troubleshoot hybrid connectivity issues prior to an Exchange 2010 hybrid migration to Office 365.\u00a0<\/p>\n<p>The issues experienced included trouble with inbound and outbound mail-flow, Autodiscover and Free\/Busy availability.\u00a0 They also had limited access to shared mailboxes across the hybrid boundary.<\/p>\n<p>The customer had set their network up for Exchange Classic Hybrid Topology with a new DNS namespace representing a new Exchange 2016 server acting as the hybrid endpoint.\u00a0\u00a0 The other Exchange (mailbox) servers were running Exchange 2010 with a hardware load-balancer for CAS roles.\u00a0<\/p>\n<p>There were some basic connectivity issues to address including &#8211; for reference:<\/p>\n<ul>\n<li>Firewall address lists missing some known Microsoft endpoint ranges for SMTP (25) and HTTPS (443)\n<ul>\n<li>This caused queues on inbound mail-flow destined for Exchange Online for via SMTP<\/li>\n<li>Reference <a rel=\"noopener nofollow\" href=\"https:\/\/docs.microsoft.com\/en-us\/office365\/enterprise\/urls-and-ip-address-ranges\" target=\"_blank\">here<\/a>:<\/li>\n<\/ul>\n<\/li>\n<li>Customer&#8217;s mail hygiene service not whitelisting the new hybrid endpoint IP\n<ul>\n<li>This blocked outbound mail-flow to the hygiene service<\/li>\n<li>Solution: Exclude hybrid server from the appropriate Send Connector to ensure correct NAT source addresses.<\/li>\n<\/ul>\n<\/li>\n<li>AutoDiscover on-premises not resolving migrated mailboxes\n<ul>\n<li>Cause: Mismatched UPNs<\/li>\n<li>Solution: Ensure matching UPNs between AD and Office 365<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p>At this point, AutoDiscover was working as expected for both on-premises and migrated mailboxes but Free\/Busy and shared mailboxes were still not working, and Outlook calendar displayed an error saying &#8220;could not be updated&#8221;<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.insentragroup.com\/wp-content\/uploads\/sites\/22\/2021\/02\/insentra_edmund-davis_3-30-2020-b3_img_1.jpg\" alt=\"\" data-udi=\"umb:\/\/media\/4585e502cd014b5dad4f255cccee2ad7\" title=\"\"><\/p>\n<p>On further investigation using <a rel=\"noopener nofollow\" href=\"https:\/\/testconnectivity.microsoft.com\/\" target=\"_blank\">Remove Connectivity Analyser<\/a>\u00a0the test showed AutoDiscover completing successfully but EWS returning authentication error relating to WS-Security.<\/p>\n<h3 style=\"padding-bottom: 15px; margin-bottom: 30px; margin-top: 40px; border-bottom: 1px solid #f16020;\">Next steps<\/h3>\n<p>During the Hybrid Configuration Wizard configuration process, Microsoft creates objects to represent organisation relationships between the on-premises Exchange environment and Exchange Online. This Organisation Relationship defines various addresses (URIs) which it will use to cross the hybrid boundary between Office 365 and on-premises Exchange.\u00a0 Some are explicitly populated but others are left to AutoDiscover by default.\u00a0<\/p>\n<h3 style=\"padding-bottom: 15px; margin-bottom: 30px; margin-top: 40px; border-bottom: 1px solid #f16020;\">Resolution<\/h3>\n<p>In the case of this specific environment, AutoDiscover returns the VIP associated with the Exchange 2010 CAS servers.\u00a0 However, as above, this was blocking WS-Security.\u00a0 Since the customer was not in a position to reconfigure the existing load-balancer, the decision was taken to populate the <strong>TargetSharingEpr<\/strong> with the EWS address of the Hybrid endpoint.<\/p>\n<p>To do this (in PowerShell)<\/p>\n<ol>\n<li>Connect to Exchange Online PowerShell<\/li>\n<li>Find the correct Identity of the correct Organisational Relationship &#8211; <strong>Get-OrganisationalRelationship<\/strong><\/li>\n<li>Find the URI of the Hybrid EWS endpoint &#8211; typically &#8220;<span>https:\/\/&lt;hybrid<\/span> endpoint namespace&gt;\/ews\/Exchange.asmx&#8221;<\/li>\n<li>Run <strong>Set-OrganizationRelationship -Identity &lt;Identity from #2&gt; -TargetSharingEpr \u201c&lt;Hybrid EWS URI from #3&gt;\u201d<\/strong><\/li>\n<\/ol>\n<p>In my experience, this should take effect almost immediately and Outlook or OWA will show Free\/Busy and Shared Mailbox\/ Calendars for on-premises mailboxes as expected.<\/p>\n<p>This compromise does introduce a single point of failure for Free\/Busy integration during migration coexistence, but it is deemed to be a risk worth taking.\u00a0 An additional 2016 server could be introduced to the environment and configured in a new VIP to provide further resilience if required.<\/p>\n<p>I hope this helps someone &#8211; or just me when I forget.\u00a0<\/p>\n","protected":false},"excerpt":{"rendered":"<p>While supporting another amazing Insentron this week, I was called in to help troubleshoot hybrid connectivity issues prior to an Exchange 2010 hybrid migration to Office 365.\u00a0 The issues experienced included trouble with inbound and outbound mail-flow, Autodiscover and Free\/Busy availability.\u00a0 They also had limited access to shared mailboxes across the hybrid boundary. The customer&hellip; <a class=\"more-link\" href=\"https:\/\/www.insentragroup.com\/au\/insights\/geek-speak\/professional-services\/hybrid-free-busy-troubleshooting\/\">Continue reading <span class=\"screen-reader-text\">Hybrid Free\/Busy Troubleshooting<\/span><\/a><\/p>\n","protected":false},"author":94,"featured_media":2091,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"content-type":"","footnotes":""},"categories":[25],"tags":[],"class_list":["post-2090","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-professional-services","entry"],"_links":{"self":[{"href":"https:\/\/www.insentragroup.com\/au\/wp-json\/wp\/v2\/posts\/2090","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.insentragroup.com\/au\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.insentragroup.com\/au\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.insentragroup.com\/au\/wp-json\/wp\/v2\/users\/94"}],"replies":[{"embeddable":true,"href":"https:\/\/www.insentragroup.com\/au\/wp-json\/wp\/v2\/comments?post=2090"}],"version-history":[{"count":0,"href":"https:\/\/www.insentragroup.com\/au\/wp-json\/wp\/v2\/posts\/2090\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.insentragroup.com\/au\/wp-json\/wp\/v2\/media\/2091"}],"wp:attachment":[{"href":"https:\/\/www.insentragroup.com\/au\/wp-json\/wp\/v2\/media?parent=2090"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.insentragroup.com\/au\/wp-json\/wp\/v2\/categories?post=2090"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.insentragroup.com\/au\/wp-json\/wp\/v2\/tags?post=2090"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}