{"id":2884,"date":"2023-03-23T14:50:46","date_gmt":"2023-03-23T14:50:46","guid":{"rendered":"https:\/\/modern-workplace.uk\/?p=2884"},"modified":"2023-03-23T19:51:39","modified_gmt":"2023-03-23T19:51:39","slug":"teams-virtual-sbc-closing-azure-network-ports-warnings-for-azureloadbalancer-and-virtualnetwork-2-2-2-2-3-2-3-2-2-2-2-2-3-2-2-3-2-3-2-2-2-3-2-2-2-4-3","status":"publish","type":"post","link":"https:\/\/modern-workplace.uk\/?p=2884","title":{"rendered":"Exchange Online &#8211; Microsoft Defender &#8211; The Remote server returned &#8216;550 5.7.520 Access denied, Your organization does not allow external forwarding. Please contact your administrator for further assistance. AS(7555)"},"content":{"rendered":"\n<p>To <a href=\"https:\/\/modern-workplace.uk\/?p=2894\" data-type=\"URL\" data-id=\"https:\/\/modern-workplace.uk\/?p=2894\" target=\"_blank\" rel=\"noreferrer noopener\">enable sending passwords in a secure way via email<\/a> one of the requirements was to be enable a user to send mail to other users in the organization using SMTP.<\/p>\n\n\n\n<p>Exchange Online requires at least two (sometimes three) checks to enable this<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li><strong>Enable or disable authenticated client SMTP submission (SMTP AUTH) in Exchange Online<\/strong><\/li>\n<\/ol>\n\n\n\n<p>On a user level this is done from the &#8220;Microsoft 365 admin center&#8221;, opening &#8220;Active users&#8221; and selecting the user. Click on Mail and then select &#8220;Manage email apps&#8221; (see the following image)<\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><a href=\"https:\/\/modern-workplace.uk\/wp-content\/uploads\/2023\/03\/AuthSMTP01.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/modern-workplace.uk\/wp-content\/uploads\/2023\/03\/AuthSMTP01.jpg\" alt=\"\" class=\"wp-image-2885\" width=\"348\" height=\"288\" srcset=\"https:\/\/modern-workplace.uk\/wp-content\/uploads\/2023\/03\/AuthSMTP01.jpg 558w, https:\/\/modern-workplace.uk\/wp-content\/uploads\/2023\/03\/AuthSMTP01-300x248.jpg 300w\" sizes=\"auto, (max-width: 348px) 100vw, 348px\" \/><\/a><\/figure>\n\n\n\n<p>The &#8221; Authenticated SMTP&#8221; flag must be selected (see the following image)<\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><a href=\"https:\/\/modern-workplace.uk\/wp-content\/uploads\/2023\/03\/AuthSMTP02.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/modern-workplace.uk\/wp-content\/uploads\/2023\/03\/AuthSMTP02.jpg\" alt=\"\" class=\"wp-image-2886\" width=\"343\" height=\"279\" srcset=\"https:\/\/modern-workplace.uk\/wp-content\/uploads\/2023\/03\/AuthSMTP02.jpg 495w, https:\/\/modern-workplace.uk\/wp-content\/uploads\/2023\/03\/AuthSMTP02-300x244.jpg 300w\" sizes=\"auto, (max-width: 343px) 100vw, 343px\" \/><\/a><\/figure>\n\n\n\n<p>Note: to enable SMTP AUTH at the organization level, read the Microsoft post <a href=\"https:\/\/learn.microsoft.com\/en-us\/exchange\/clients-and-mobile-in-exchange-online\/authenticated-client-smtp-submission\">Enable or disable SMTP AUTH in Exchange Online | Microsoft Learn<\/a><\/p>\n\n\n\n<p>   2. <strong>Enable Automatic forwarding in Defender<\/strong><\/p>\n\n\n\n<p>The &#8220;Anti-spam outbound policy (Default)&#8221; in Defender has &#8220;Automatic forwarding&#8221; set to &#8220;Automatic &#8211; System-controlled&#8221;.  You must create a new rule for the user that will send email using SMT.<\/p>\n\n\n\n<p>Open <a rel=\"noreferrer noopener\" href=\"https:\/\/security.microsoft.com\/\" target=\"_blank\">https:\/\/security.microsoft.com\/<\/a> and under &#8220;Email &amp; collaboration&#8221; select &#8220;Policies &amp; riles&#8221; (as shown in the following image)<\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><a href=\"https:\/\/modern-workplace.uk\/wp-content\/uploads\/2023\/03\/AuthSMTP03.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/modern-workplace.uk\/wp-content\/uploads\/2023\/03\/AuthSMTP03.jpg\" alt=\"\" class=\"wp-image-2887\" width=\"242\" height=\"318\" srcset=\"https:\/\/modern-workplace.uk\/wp-content\/uploads\/2023\/03\/AuthSMTP03.jpg 269w, https:\/\/modern-workplace.uk\/wp-content\/uploads\/2023\/03\/AuthSMTP03-228x300.jpg 228w\" sizes=\"auto, (max-width: 242px) 100vw, 242px\" \/><\/a><\/figure>\n\n\n\n<p>Select &#8220;Threat policies&#8221; and then &#8220;Anti-spam policies&#8221;. Click on &#8220;Create policy&#8221; and select &#8220;Outbound&#8221; (see the next image)<\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><a href=\"https:\/\/modern-workplace.uk\/wp-content\/uploads\/2023\/03\/AuthSMTP04.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/modern-workplace.uk\/wp-content\/uploads\/2023\/03\/AuthSMTP04.jpg\" alt=\"\" class=\"wp-image-2888\" width=\"467\" height=\"319\" srcset=\"https:\/\/modern-workplace.uk\/wp-content\/uploads\/2023\/03\/AuthSMTP04.jpg 581w, https:\/\/modern-workplace.uk\/wp-content\/uploads\/2023\/03\/AuthSMTP04-300x205.jpg 300w\" sizes=\"auto, (max-width: 467px) 100vw, 467px\" \/><\/a><\/figure>\n\n\n\n<p>Name the policy as you prefer and add the required users. In the &#8220;Outbound Protection Settings&#8221; change the &#8220;Forwarding rules&#8221; &#8220;Automatic forwarding rules&#8221; to <strong>On-Forwarding is enabled<\/strong> (see the following image)<\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><a href=\"https:\/\/modern-workplace.uk\/wp-content\/uploads\/2023\/03\/AuthSMTP05.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/modern-workplace.uk\/wp-content\/uploads\/2023\/03\/AuthSMTP05.jpg\" alt=\"\" class=\"wp-image-2889\" width=\"589\" height=\"320\" srcset=\"https:\/\/modern-workplace.uk\/wp-content\/uploads\/2023\/03\/AuthSMTP05.jpg 826w, https:\/\/modern-workplace.uk\/wp-content\/uploads\/2023\/03\/AuthSMTP05-300x163.jpg 300w, https:\/\/modern-workplace.uk\/wp-content\/uploads\/2023\/03\/AuthSMTP05-768x417.jpg 768w\" sizes=\"auto, (max-width: 589px) 100vw, 589px\" \/><\/a><\/figure>\n\n\n\n<p>Complete the creation of the policy. A new policy with a priority higher than the default one will be created<\/p>\n\n\n\n<p>   3. <strong>Bypass SPAM<\/strong>  <strong>Filtering<\/strong><\/p>\n\n\n\n<p>This step could be required if the step 2. does not work or to replace the step 2 completely.<\/p>\n\n\n\n<p>Open the <a rel=\"noreferrer noopener\" href=\"https:\/\/admin.exchange.microsoft.com\/\" data-type=\"URL\" data-id=\"https:\/\/admin.exchange.microsoft.com\/\" target=\"_blank\">Exchange Online admin portal <\/a> and select &#8220;Mail flow&#8221;, then Rules. Click on &#8220;Add a rule&#8221; and select &#8220;Bypass spam filtering&#8221; (see the following image)<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/modern-workplace.uk\/wp-content\/uploads\/2023\/03\/AuthSMTP06.jpg\"><img loading=\"lazy\" decoding=\"async\" width=\"597\" height=\"238\" src=\"https:\/\/modern-workplace.uk\/wp-content\/uploads\/2023\/03\/AuthSMTP06.jpg\" alt=\"\" class=\"wp-image-2890\" srcset=\"https:\/\/modern-workplace.uk\/wp-content\/uploads\/2023\/03\/AuthSMTP06.jpg 597w, https:\/\/modern-workplace.uk\/wp-content\/uploads\/2023\/03\/AuthSMTP06-300x120.jpg 300w\" sizes=\"auto, (max-width: 597px) 100vw, 597px\" \/><\/a><\/figure>\n\n\n\n<p>Name the policy and select &#8220;Apply this rule if the sender is this person&#8221;, then select the user you want to enable as sender.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><a href=\"https:\/\/modern-workplace.uk\/wp-content\/uploads\/2023\/03\/AuthSMTP07.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/modern-workplace.uk\/wp-content\/uploads\/2023\/03\/AuthSMTP07.jpg\" alt=\"\" class=\"wp-image-2891\" width=\"615\" height=\"167\" srcset=\"https:\/\/modern-workplace.uk\/wp-content\/uploads\/2023\/03\/AuthSMTP07.jpg 709w, https:\/\/modern-workplace.uk\/wp-content\/uploads\/2023\/03\/AuthSMTP07-300x81.jpg 300w\" sizes=\"auto, (max-width: 615px) 100vw, 615px\" \/><\/a><\/figure>\n\n\n\n<p>Leave all the remaining parameters with the default values and create the new transport rule<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Exchange Online &#8211; Microsoft Defender &#8211; The Remote server returned &#8216;550 5.7.520 Access denied, Your organization does not allow external forwarding. Please contact your administrator for further assistance. AS(7555). To enable a user to send mail to other users in the organization using SMTP in Exchange Online<\/p>\n","protected":false},"author":1,"featured_media":2892,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_sitemap_exclude":false,"_sitemap_priority":"","_sitemap_frequency":"","twitterCardType":"","cardImageID":0,"cardImage":"","cardTitle":"","cardDesc":"","cardImageAlt":"","cardPlayer":"","cardPlayerWidth":0,"cardPlayerHeight":0,"cardPlayerStream":"","cardPlayerCodec":"","footnotes":""},"categories":[810,753,757],"tags":[759,77],"class_list":["post-2884","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-810","category-microsoft365","category-office-365","tag-microsoft-365","tag-office-365"],"_links":{"self":[{"href":"https:\/\/modern-workplace.uk\/index.php?rest_route=\/wp\/v2\/posts\/2884","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/modern-workplace.uk\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/modern-workplace.uk\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/modern-workplace.uk\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/modern-workplace.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2884"}],"version-history":[{"count":3,"href":"https:\/\/modern-workplace.uk\/index.php?rest_route=\/wp\/v2\/posts\/2884\/revisions"}],"predecessor-version":[{"id":2903,"href":"https:\/\/modern-workplace.uk\/index.php?rest_route=\/wp\/v2\/posts\/2884\/revisions\/2903"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/modern-workplace.uk\/index.php?rest_route=\/wp\/v2\/media\/2892"}],"wp:attachment":[{"href":"https:\/\/modern-workplace.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2884"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/modern-workplace.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2884"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/modern-workplace.uk\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2884"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}