How to achieve Optimal Office 365 Connectivity and Performance

Sharing is caring!

&NewLine;<p>&nbsp&semi;Office 365 connectivity can be optimized by implementing a combination of approaches like network route optimization&comma; firewall rules&comma; browser proxy settings&comma; and bypass of network inspection devices for certain endpoints&period;<&sol;p>&NewLine;&NewLine;&NewLine;&NewLine;<p>Office 365 egress works well but the optimum connectivity model is to provide network egress at the user&&num;8217&semi;s location&comma; regardless of whether this is on the corporate network or remote locations such as home&comma; hotels&comma; coffee shops and airports&period; This local direct egress model is represented in the diagram below&period;<&sol;p>&NewLine;&NewLine;&NewLine;&NewLine;<p>Use following Microsoft recommended Office 365 connectivity principles to manage your traffic and get the best performance when connecting to Office 365&period;<&sol;p>&NewLine;&NewLine;&NewLine;&NewLine;<h3 class&equals;"wp-block-heading">&NewLine;&NewLine;Optimization methods&nbsp&semi;&NewLine;&NewLine;<&sol;h3>&NewLine;&NewLine;&NewLine;&NewLine;<ul class&equals;"wp-block-list"><li>Minimize latency by reducing the round-trip time &lpar;RTT&rpar; from your network into the Microsoft Global Network&period;<&sol;li><li>Provide&nbsp&semi;local Internet egress and by configuring internal DNS servers to provide local name resolution for Office 365 endpoint&period;<&sol;li><li>Implement both local DNS and local Internet egress together&period;&nbsp&semi;<&sol;li><li>Shorten&nbsp&semi;the network path to Office 365 entry points&period; Make sure users connect to Office 365 front-end servers as close as possible&period;<&sol;li><li>Minimize name resolution latency by provisioning local DNS servers in branch locations and making sure they are configured to cache DNS records appropriately&period;<&sol;li><li>Avoid&nbsp&semi;network hairpins&comma;&nbsp&semi;A network hairpin happens when WAN or VPN traffic bound for a particular destination is first directed to another intermediate location&period;<&sol;li><li>Make sure the ISP that is used to provide Internet egress for the user location has a direct peering relationship with the Microsoft Global Network in close proximity to that location&period;<&sol;li><li>Configure egress routing to send trusted Office 365 traffic directly&comma; as opposed to proxying or tunnelling through a third-party cloud or cloud-based network security vendor that processes your Internet-bound traffic&period;&nbsp&semi;<&sol;li><li>Bypass on-premises proxy devices and cloud-based proxy services commonly used for generic Internet browsing&period;<&sol;li><li>Ensure that IP addresses returned by DNS name resolution match the routing egress path for these endpoints&period;<br><br><&sol;li><&sol;ul>&NewLine;&NewLine;&NewLine;&NewLine;<h4 class&equals;"wp-block-heading"><strong>Adopt Local egress model over Traditional model<&sol;strong><&sol;h4>&NewLine;&NewLine;&NewLine;&NewLine;<ul class&equals;"wp-block-list"><li>Provides optimal Office 365 performance by optimizing route length&period; End user connections are dynamically routed to the nearest Office 365 entry point by the Distributed Service Front Door infrastructure&period;<&sol;li><li>Reduces the load on corporate network infrastructure by allowing local egress&period;<&sol;li><li>Secures connections on both ends by leveraging client endpoint security and cloud security features&period;<&sol;li><&sol;ul>&NewLine;&NewLine;&NewLine;&NewLine;<h4 class&equals;"wp-block-heading">Review network security and risk reduction methods<&sol;h4>&NewLine;&NewLine;&NewLine;&NewLine;<p>Most enterprise networks enforce network security for Internet traffic using technologies like proxies&comma; SSL inspection&comma; packet inspection&comma; and data loss prevention systems but these methods&nbsp&semi;can dramatically reduce performance&comma; scalability and the quality of end-user experience when applied to Office 365 endpoints&period;<&sol;p>&NewLine;&NewLine;&NewLine;&NewLine;<p>Enterprise customers should review their network security and methods specifically for Office 365 bound traffic and use Office 365 security features to reduce their reliance on intrusive&comma; performance <g class&equals;"gr&lowbar; gr&lowbar;3 gr-alert gr&lowbar;gramm gr&lowbar;inline&lowbar;cards gr&lowbar;run&lowbar;anim Grammar multiReplace" id&equals;"3" data-gr-id&equals;"3">impacting<&sol;g>&comma; and expensive network security technologies for Office 365 network traffic&period;<&sol;p>&NewLine;&NewLine;&NewLine;&NewLine;<h4 class&equals;"wp-block-heading" id&equals;"step-5-optimize-client-and-office-365-service-performance">Optimize client&nbsp&semi;<&sol;h4>&NewLine;&NewLine;&NewLine;&NewLine;<ul class&equals;"wp-block-list"><li><strong>Enable TCP window scaling&comma;<&sol;strong> so your client device can send more data before requiring an acknowledgement&period; Having this disabled can have quite a performance impact on Office 365 and also any other traffic flowing through the device&period; <&sol;li><li><strong>Increase TCP idle time<&sol;strong>&comma; so your client device can handle open connections more efficiently&period; Bring the SSL&sol;TCP Idle Session timeout all perimeter devices into line with each other&period; Ideally&comma;  create a separate rule for Office 365 traffic&comma; increase this value to as high a value as possible&comma; in the region of > 2 hours &lpar;as Windows will send a keep alive by default at 2 hours&rpar;&period;<&sol;li><li><strong>Set TCP maximum segment size<&sol;strong> MSS to full size&comma; so your client device can send the largest blocks of data in a packet&period;<&sol;li><li>TCP selective acknowledgements&comma; so your client device can acknowledge received data more efficiently&period; This greatly increases the efficiency of the TCP protocol and is therefore enabled by default in Windows and most other TCP implementations&period; However&comma; there can be occasions where devices are disabling this feature so it&&num;8217&semi;s always worth a quick check&period;<&sol;li><&sol;ul>&NewLine;&NewLine;&NewLine;&NewLine;<h4 class&equals;"wp-block-heading"> Reduce Bandwidth Constraints during migration<&sol;h4>&NewLine;&NewLine;&NewLine;&NewLine;<ul class&equals;"wp-block-list"><li>Reduce mailbox sizes&period; Smaller mailbox size improves migration speed&period;<&sol;li><li>Use the mailbox move capabilities with an Exchange hybrid deployment&period; <&sol;li><li>Schedule mailbox moves to occur during periods of low Internet traffic and low on-premises Exchange use&period; <&sol;li><li>Use lean popouts for Outlook on the web&period; Lean popouts provide smaller&comma; less memory-intensive versions of certain email messages in Microsoft Edge or Internet Explorer by rendering some components on the server&period; <&sol;li><&sol;ul>&NewLine;