{"id":17635,"date":"2022-03-11T17:19:25","date_gmt":"2022-03-11T17:19:25","guid":{"rendered":"https:\/\/www.o365cloudexperts.com\/blog\/?p=17635"},"modified":"2025-12-30T10:58:16","modified_gmt":"2025-12-30T10:58:16","slug":"optimize-stream-and-live-events-traffic-using-vpn-in-microsoft-365","status":"publish","type":"post","link":"https:\/\/www.o365cloudexperts.com\/blog\/optimize-stream-and-live-events-traffic-using-vpn-in-microsoft-365\/","title":{"rendered":"How to Optimize Stream and Live Events Traffic Using VPN in Microsoft 365?"},"content":{"rendered":"<p>Many organizations have implemented the work-from-home model for their employees, which has resulted in an increase in load to their VPN infrastructure. Typically, this infrastructure is not designed to handle this volume or type of traffic. Many organizations are using split tunneling or forced tunnel exceptions on optimize-marked Microsoft 365 endpoints to improve performance and reduce the load on the VPN infrastructure.<\/p>\n<p>Sending high-volume and latency-sensitive traffic directly to Microsoft services can not only solve these issues but are also the designed best practice for these endpoints. However, Teams-produced live events and on-demand Stream traffic are not listed within the Optimize category. In this article, we will focus on how to optimize stream and live events traffic using VPN in Microsoft 365.<\/p>\n<h2 style=\"font-size: 23px;\">How to Implement Forced Tunnel Exception for Teams Live Events and Stream?<\/h2>\n<p>Follow the steps below to simplify connectivity requirements for Live Events\/Stream using VPN.<\/p>\n<ul style=\"text-align:justify\">\n<li>\n<h3 style=\"font-size: 20px;\">Resolve external DNS<\/h3>\n<p>To resolve host names to IPs, the client needs external, recursive DNS resolution to be available for *.streaming.mediaservices.windows.net, *.azureedge.net, *.media.azure.net, and *.bmc.cdn.office.net. These FQDNs are required in PAC files in combination with the IPs to send the relevant traffic direct. However, it is not recommended to use these URLs to configure VPN offload, as some of the endpoints are shared with other elements outside of Stream\/Live Events.<\/li>\n<li>\n<h3 style=\"font-size: 20px;\">Configure PAC file when required<\/h3>\n<p>Organizations use PAC files in VPN scenarios in which clients have to send either direct traffic or through an internal proxy server. This involves the use of FDQNs. However, currently, Stream\/Live Events use namespaces that include wildcards such as *.azureedge.net, which also include other elements, for which providing full IP listings is not possible. Consequently, if the wildcard is used, traffic will be blocked to the endpoint.<\/p>\n<p>When the IPs are used in combination with the FQDNs in a PAC file, the URL for the Stream\/Live Events and the IP returned from a DNS lookup match the details provided for the service. If either does not match, traffic is routed to the proxy, else, it is sent direct. This ensures that anything that resolves to an IP outside of the scope of both the IP and FQDN traverses the proxy through the VPN as intended.<\/li>\n<li>\n<h3 style=\"font-size: 20px;\">Enabling direct egress by configuring routing on VPN<\/h3>\n<p>Finally, adding a direct route for the Stream\/Live Event IPs into the VPN configuration ensures that traffic is not sent via the forced tunnel into the VPN. Ensure that only IPs, and not the FQDNs, are used for VPN configuration.<\/li>\n<\/ul>\n<h2 style=\"font-size: 23px;\">Apps4Rent Can Help with Microsoft 365 Configuration and Customization<\/h2>\n<p>Forced tunnel exception for Teams Live Events and Stream sends the latency-sensitive streaming traffic direct, while other traffic uses the VPN tunnel. While this is a temporary solution, an incorrect configuration could compromise user security. Microsoft is re-architecting the endpoints to simplify connectivity requirements for Live Events and Streams. As a Tier 1 Microsoft CSP, Apps4Rent can help with Microsoft 365 licensing, configuration, customization of applications and services. Call, chat, or email our senior Microsoft 365 consultants available 24\/7 for assistance.<br \/>\n<a name=\"form\"><\/a><br \/>\n\n<div class=\"wpcf7 no-js\" id=\"wpcf7-f15786-o1\" lang=\"en-US\" dir=\"ltr\" data-wpcf7-id=\"15786\">\n<div class=\"screen-reader-response\"><p role=\"status\" aria-live=\"polite\" aria-atomic=\"true\"><\/p> <ul><\/ul><\/div>\n<form action=\"\/blog\/wp-json\/wp\/v2\/posts\/17635#wpcf7-f15786-o1\" method=\"post\" class=\"wpcf7-form init\" aria-label=\"Contact form\" novalidate=\"novalidate\" data-status=\"init\">\n<fieldset class=\"hidden-fields-container\"><input type=\"hidden\" name=\"_wpcf7\" value=\"15786\" \/><input type=\"hidden\" name=\"_wpcf7_version\" value=\"6.1.5\" \/><input type=\"hidden\" name=\"_wpcf7_locale\" value=\"en_US\" \/><input type=\"hidden\" name=\"_wpcf7_unit_tag\" value=\"wpcf7-f15786-o1\" \/><input type=\"hidden\" name=\"_wpcf7_container_post\" value=\"0\" \/><input type=\"hidden\" name=\"_wpcf7_posted_data_hash\" value=\"\" \/><input type=\"hidden\" name=\"_wpcf7cf_hidden_group_fields\" value=\"[]\" \/><input type=\"hidden\" name=\"_wpcf7cf_hidden_groups\" value=\"[]\" \/><input type=\"hidden\" name=\"_wpcf7cf_visible_groups\" value=\"[]\" \/><input type=\"hidden\" name=\"_wpcf7cf_repeaters\" value=\"[]\" \/><input type=\"hidden\" name=\"_wpcf7cf_steps\" value=\"{}\" \/><input type=\"hidden\" name=\"_wpcf7cf_options\" value=\"{&quot;form_id&quot;:15786,&quot;conditions&quot;:[],&quot;settings&quot;:{&quot;animation&quot;:&quot;yes&quot;,&quot;animation_intime&quot;:200,&quot;animation_outtime&quot;:200,&quot;conditions_ui&quot;:&quot;normal&quot;,&quot;notice_dismissed&quot;:false}}\" \/><input type=\"hidden\" name=\"_wpcf7_recaptcha_response\" value=\"\" \/>\n<\/fieldset>\n<style>\ntextarea {\n font: 16px 'Roboto';\n font-weight: normal;\n font-style: normal;\n line-height: 25px;\n color: #2A363F;\n padding: 10px 20px !important;\n font-size: 18px;\n border: 1px solid #e0e0e0 !important;\n width: 99%;\n box-sizing: border-box;\n border-radius: 3px !important;\n}select{font: 16px 'Roboto';font-weight: normal;font-style: normal;line-height: 25px;color: #2A363F;font-size: 18px;border: 1px solid #e0e0e0 !important;width: 98.5% !important;box-sizing: border-box;border-radius: 3px !important;}.inputt{float: left;margin-bottom: 20px;margin-right:20px;padding: 10px; width:30.8% ;}.inputt1{float: left;margin-bottom: 20px;padding: 10px; width:33% ;}.post input[type=\"submit\"]{width: 90px !important;background: orange;border: #9d9fa0 1px solid !important;}.blogf{width:auto;margin-left: 10px;margin-right: 10px;margin-bottom:15px;}.blogf1{width: 31%;margin-left: 10px;margin-bottom:15px;}.blogaf{width: 28.6%;margin-bottom:15px;}.textarea{font-size:13px;}.mail{width:100%;}@media only screen and (min-width:99px) and (max-width:767px){.blogf1{width:100%;margin: 0px;}.inputt{width:100% ;}.inputt1{width:100% ;}.blogf{width:100%;margin: 0px;}.blogaf{width:100%;margin: 0px;}}\n<\/style>\n<div class=\"clearfix divider_line9 lessm artciles-between\">\n<\/div>\n<div style=\"padding: 3%;background-color: #f9f9f9;margin-bottom: 15px;\">\n\t<div>\n\t\t<p style=\"text-align:center;color: #3183d7;font-size: 27px;font-weight: 500;margin-bottom: 40px;\">Submit Your Requirement\n\t\t<\/p>\n\t<\/div>\n\t<p><a name=\"mobform\" class=\"mobform\"><\/a>\n\t<\/p>\n\t<div >\n\t\t<p><span class=\"wpcf7-form-control-wrap\" data-name=\"Name\"><input size=\"39\" maxlength=\"60\" class=\"wpcf7-form-control wpcf7-text wpcf7-validates-as-required inputt\" aria-required=\"true\" aria-invalid=\"false\" placeholder=\"Name\" value=\"\" type=\"text\" name=\"Name\" \/><\/span><span class=\"wpcf7-form-control-wrap\" data-name=\"Email\"><input size=\"39\" maxlength=\"60\" class=\"wpcf7-form-control wpcf7-email wpcf7-validates-as-required wpcf7-text wpcf7-validates-as-email inputt\" aria-required=\"true\" aria-invalid=\"false\" placeholder=\"Email ID\" value=\"\" type=\"email\" name=\"Email\" \/><\/span><span class=\"wpcf7-form-control-wrap\" data-name=\"ContactNumber\"><input size=\"39\" maxlength=\"60\" class=\"wpcf7-form-control wpcf7-text wpcf7-validates-as-required inputt1\" aria-required=\"true\" aria-invalid=\"false\" placeholder=\"Contact Number\" value=\"\" type=\"text\" name=\"ContactNumber\" \/><\/span><br \/>\n<span class=\"wpcf7-form-control-wrap\" data-name=\"mailbox\"><input size=\"35\" maxlength=\"60\" class=\"wpcf7-form-control wpcf7-text wpcf7-validates-as-required mail\" aria-required=\"true\" aria-invalid=\"false\" placeholder=\"Number of Mailboxes*\" value=\"\" type=\"text\" name=\"mailbox\" \/><\/span>\n\t\t<\/p>\n\t\t<div style=\"margin-bottom:15px;\">\n\t\t\t<p><span class=\"wpcf7-form-control-wrap office365\"><select name=\"office365\" class=\"wpcf7-form-control wpcf7-select\" aria-invalid=\"false\" style=\"width: 100% !important;padding: 3px;width: 81.5%; padding: 10px 5px !important;border: solid 1px #e0e0e0;border-radius: 3px;;font-size: 13px;color: #656565;\"><option value=\"Select\">Migrating From?*<\/option><option value=\"Exchange\">Exchange<\/option><option value=\"POP3\/IMAP\">POP3\/IMAP<\/option><option value=\"G Suite\">G Suite<\/option><option value=\"Rackspace\">Rackspace<\/option><option value=\"Office 365\">Office 365<\/option><option value=\"Mozilla Thunderbird\">Mozilla Thunderbird<\/option><option value=\"Lotus Notes\">Lotus Notes<\/option><option value=\"Outlook.com\">Outlook.com<\/option><option value=\"Kerio\">Kerio<\/option><option value=\"GroupWise\">GroupWise<\/option><option value=\"SharePoint\">SharePoint<\/option><option value=\"Others\">Others<\/option><\/select><\/span>\n\t\t\t<\/p>\n\t\t<\/div>\n\t\t<p><span class=\"wpcf7-form-control-wrap your-message\"><textarea name=\"your-message\" cols=\"117\" rows=\"6\" class=\"wpcf7-form-control wpcf7-textarea\" maxlength = \"400\" aria-invalid=\"false\" placeholder=\"Your Message*\" style=\"\nwidth: 100%;font-size:13px;\"><\/textarea><\/span>\n\t\t<\/p>\n\t<span class=\"wpcf7-form-control-wrap recaptcha\" data-name=\"recaptcha\"><span data-sitekey=\"6Lc6Z9IUAAAAAGTl0gnruY5FQ7_3OHWPvUwul-Zo\" class=\"wpcf7-form-control wpcf7-recaptcha g-recaptcha\"><\/span>\r\n<noscript>\r\n\t<div class=\"grecaptcha-noscript\">\r\n\t\t<iframe loading=\"lazy\" src=\"https:\/\/www.google.com\/recaptcha\/api\/fallback?k=6Lc6Z9IUAAAAAGTl0gnruY5FQ7_3OHWPvUwul-Zo\" frameborder=\"0\" scrolling=\"no\" width=\"310\" height=\"430\">\r\n\t\t<\/iframe>\r\n\t\t<textarea name=\"g-recaptcha-response\" rows=\"3\" cols=\"40\" placeholder=\"reCaptcha Response Here\">\r\n\t\t<\/textarea>\r\n\t<\/div>\r\n<\/noscript>\r\n<\/span>\n\t\t<p>&nbsp;<br \/>\n<input class=\"wpcf7-form-control wpcf7-submit has-spinner button-co\" type=\"submit\" value=\"Send\" \/>\n\t\t<\/p>\n\t<\/div>\n<\/div><p style=\"display: none !important;\" class=\"akismet-fields-container\" data-prefix=\"_wpcf7_ak_\"><label>&#916;<textarea name=\"_wpcf7_ak_hp_textarea\" cols=\"45\" rows=\"8\" maxlength=\"100\"><\/textarea><\/label><input type=\"hidden\" id=\"ak_js_1\" name=\"_wpcf7_ak_js\" value=\"227\"\/><script>\ndocument.getElementById( \"ak_js_1\" ).setAttribute( \"value\", ( new Date() ).getTime() );\n<\/script>\n<\/p><div class=\"wpcf7-response-output\" aria-hidden=\"true\"><\/div>\n<\/form>\n<\/div>\n<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Many organizations have implemented the work-from-home model for their employees, which has resulted in an increase in load to their VPN infrastructure. Typically, this infrastructure is not designed to handle this volume or type of traffic. Many organizations are using split tunneling or forced tunnel exceptions on optimize-marked Microsoft 365 endpoints to improve performance and [&hellip;]<\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1168,1166],"tags":[],"class_list":["post-17635","post","type-post","status-publish","format-standard","hentry","category-microsoft-365","category-microsoft-teams"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/www.o365cloudexperts.com\/blog\/wp-json\/wp\/v2\/posts\/17635","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.o365cloudexperts.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.o365cloudexperts.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.o365cloudexperts.com\/blog\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/www.o365cloudexperts.com\/blog\/wp-json\/wp\/v2\/comments?post=17635"}],"version-history":[{"count":4,"href":"https:\/\/www.o365cloudexperts.com\/blog\/wp-json\/wp\/v2\/posts\/17635\/revisions"}],"predecessor-version":[{"id":22865,"href":"https:\/\/www.o365cloudexperts.com\/blog\/wp-json\/wp\/v2\/posts\/17635\/revisions\/22865"}],"wp:attachment":[{"href":"https:\/\/www.o365cloudexperts.com\/blog\/wp-json\/wp\/v2\/media?parent=17635"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.o365cloudexperts.com\/blog\/wp-json\/wp\/v2\/categories?post=17635"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.o365cloudexperts.com\/blog\/wp-json\/wp\/v2\/tags?post=17635"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}