{"id":6256,"date":"2022-07-26T00:07:13","date_gmt":"2022-07-25T22:07:13","guid":{"rendered":"https:\/\/www.limilabs.com\/blog\/?p=6256"},"modified":"2023-01-19T19:37:33","modified_gmt":"2023-01-19T17:37:33","slug":"office-365-prevent-basic-auth-disabled","status":"publish","type":"post","link":"https:\/\/www.limilabs.com\/blog\/office-365-prevent-basic-auth-disabled","title":{"rendered":"Office 365: Prevent Basic Auth being disabled"},"content":{"rendered":"\n<p>Microsoft will be randomly disabling Basic Auth for some tenants before October 1st 2002, then after October 1 2022, they will disable Basic Auth for IMAP and POP3 regardless of their usage.<\/p>\n\n\n\n<p>For some time it was possible to re-enable Basic Auth for IMAP and POP3 for your tenant &#8211;<strong> <\/strong><br>&#8211; <strong>it is no longer possible to do that<\/strong> <strong>anymore<\/strong>. <\/p>\n\n\n\n<p>You can find more details here:<br><a href=\"https:\/\/techcommunity.microsoft.com\/t5\/exchange-team-blog\/basic-authentication-deprecation-in-exchange-online-time-s-up\/ba-p\/3695312\">https:\/\/techcommunity.microsoft.com\/t5\/exchange-team-blog\/basic-authentication-deprecation-in-exchange-online-time-s-up\/ba-p\/3695312<\/a><\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Switch to OAuth 2.0<\/h3>\n\n\n\n<p>You should <strong>switch to OAuth 2.0<\/strong> for authentication purposes:<\/p>\n\n\n\n<p><strong>Daemons\/Services:\u00a0Password grant\u00a0<\/strong>(MFA\/2FA must be turned off for this account):<br><a href=\"https:\/\/www.limilabs.com\/blog\/oauth2-password-grant-office365-exchange-imap-pop3-smtp\">https:\/\/www.limilabs.com\/blog\/oauth2-password-grant-office365-exchange-imap-pop3-smtp<\/a><br><br><strong>Daemons\/Services:\u00a0Client credential<\/strong>\u00a0flow:<br><a href=\"https:\/\/www.limilabs.com\/blog\/oauth2-client-credential-flow-office365-exchange-imap-pop3-smtp\">https:\/\/www.limilabs.com\/blog\/oauth2-client-credential-flow-office365-exchange-imap-pop3-smtp<\/a><br><br><strong>Web\u00a0apps<\/strong> (requires user interaction):<br><a href=\"https:\/\/www.limilabs.com\/blog\/oauth2-web-flow-office365-exchange-imap-pop3-smtp\">https:\/\/www.limilabs.com\/blog\/oauth2-web-flow-office365-exchange-imap-pop3-smtp<\/a><br><br><strong>Standalone\u00a0devices<\/strong> (requires very little interaction):<br><a href=\"https:\/\/www.limilabs.com\/blog\/oauth2-device-flow-office365-exchange-imap-pop3-smtp\">https:\/\/www.limilabs.com\/blog\/oauth2-device-flow-office365-exchange-imap-pop3-smtp<\/a><br><br><strong>Desktop\u00a0apps<\/strong> (requires user interaction):<br><a href=\"https:\/\/www.limilabs.com\/blog\/oauth2-office365-exchange-imap-pop3-smtp\">https:\/\/www.limilabs.com\/blog\/oauth2-office365-exchange-imap-pop3-smtp<\/a><\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Below steps are deprecated<\/h3>\n\n\n\n<p>If you want to opt-out, read the article below:<\/p>\n\n\n\n<p><a href=\"https:\/\/techcommunity.microsoft.com\/t5\/exchange-team-blog\/basic-authentication-and-exchange-online-september-2021-update\/ba-p\/2772210\">https:\/\/techcommunity.microsoft.com\/t5\/exchange-team-blog\/basic-authentication-and-exchange-online-september-2021-update\/ba-p\/2772210<\/a><\/p>\n\n\n\n<p>&#8230;or you can <strong>go directly to the self-help diagnostic<\/strong> (use your tenant&#8217;s Global Admin account):<\/p>\n\n\n\n<p><a href=\"https:\/\/aka.ms\/PillarEXOBasicAuth\">https:\/\/aka.ms\/PillarEXOBasicAuth<\/a><\/p>\n\n\n\n<p>It&#8217;ll bring up the diagnostic in the Microsoft 365 admin center (if you\u2019re a tenant Global Admin).<\/p>\n\n\n\n<p>Hit <strong>Run Tests<\/strong>:<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/www.limilabs.com\/blog\/wp-content\/uploads\/2022\/10\/image-5.png\"><img loading=\"lazy\" decoding=\"async\" width=\"496\" height=\"485\" src=\"https:\/\/www.limilabs.com\/blog\/wp-content\/uploads\/2022\/10\/image-5.png\" alt=\"\" class=\"wp-image-6360\" srcset=\"https:\/\/www.limilabs.com\/blog\/wp-content\/uploads\/2022\/10\/image-5.png 496w, https:\/\/www.limilabs.com\/blog\/wp-content\/uploads\/2022\/10\/image-5-300x293.png 300w\" sizes=\"(max-width: 496px) 100vw, 496px\" \/><\/a><\/figure>\n\n\n\n<p>&#8230;.on the next screen you&#8217;ll be able to <strong>enable Basic Auth for IMAP or POP3<\/strong>:<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/www.limilabs.com\/blog\/wp-content\/uploads\/2022\/10\/image-6.png\"><img loading=\"lazy\" decoding=\"async\" width=\"452\" height=\"799\" src=\"https:\/\/www.limilabs.com\/blog\/wp-content\/uploads\/2022\/10\/image-6.png\" alt=\"\" class=\"wp-image-6361\" srcset=\"https:\/\/www.limilabs.com\/blog\/wp-content\/uploads\/2022\/10\/image-6.png 452w, https:\/\/www.limilabs.com\/blog\/wp-content\/uploads\/2022\/10\/image-6-170x300.png 170w\" sizes=\"(max-width: 452px) 100vw, 452px\" \/><\/a><\/figure>\n\n\n\n<p>For accounts that use shared infrastructure you&#8217;ll need to run those 2 powershell commands:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: powershell; title: ; notranslate\" title=\"\">\nConnect-ExchangeOnline\nEnable-OrganizationCustomization\n<\/pre><\/div>","protected":false},"excerpt":{"rendered":"<p>Microsoft will be randomly disabling Basic Auth for some tenants before October 1st 2002, then after October 1 2022, they will disable Basic Auth for IMAP and POP3 regardless of their usage. For some time it was possible to re-enable Basic Auth for IMAP and POP3 for your tenant &#8211; &#8211; it is no longer [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4,1],"tags":[28,122,42],"class_list":["post-6256","post","type-post","status-publish","format-standard","hentry","category-mail-dll","category-news","tag-imap","tag-office365","tag-pop3"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/www.limilabs.com\/blog\/wp-json\/wp\/v2\/posts\/6256"}],"collection":[{"href":"https:\/\/www.limilabs.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.limilabs.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.limilabs.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.limilabs.com\/blog\/wp-json\/wp\/v2\/comments?post=6256"}],"version-history":[{"count":14,"href":"https:\/\/www.limilabs.com\/blog\/wp-json\/wp\/v2\/posts\/6256\/revisions"}],"predecessor-version":[{"id":6414,"href":"https:\/\/www.limilabs.com\/blog\/wp-json\/wp\/v2\/posts\/6256\/revisions\/6414"}],"wp:attachment":[{"href":"https:\/\/www.limilabs.com\/blog\/wp-json\/wp\/v2\/media?parent=6256"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.limilabs.com\/blog\/wp-json\/wp\/v2\/categories?post=6256"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.limilabs.com\/blog\/wp-json\/wp\/v2\/tags?post=6256"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}