{"id":5777,"date":"2021-01-28T19:07:20","date_gmt":"2021-01-28T17:07:20","guid":{"rendered":"https:\/\/www.limilabs.com\/blog\/?p=5777"},"modified":"2023-07-31T12:15:17","modified_gmt":"2023-07-31T10:15:17","slug":"office365-temporary-server-error-please-try-again-later-prx4","status":"publish","type":"post","link":"https:\/\/www.limilabs.com\/blog\/office365-temporary-server-error-please-try-again-later-prx4","title":{"rendered":"Office365: Temporary server error. Please try again later. PRX4"},"content":{"rendered":"\n<p>When using <a href=\"\/mail\">Mail.dll SMTP .NET client<\/a> to connect to Office365 using OAUTH 2.0 you may receive a following error during authentication phase:<\/p>\n\n\n\n<p><strong>Temporary server error. Please try again later. PRX4<\/strong><\/p>\n\n\n\n<p>SMTP log looks more or less like this:<\/p>\n\n\n\n<p>\n\n Connecting to &#8216;outlook.office365.com:587&#8217;, SSL\/TLS: False.\n\n<\/p>\n\n\n\n<p><code> S: 220 AS8PR04CA0136.outlook.office365.com Microsoft ESMTP MAIL Service ready at Thu, 28 Jan 2021 15:43:35 + 0000<br> C: EHLO[IPv6:2a02:]<br> S: 250-AS8PR04CA0136.outlook.office365.com Hello[2a02:]<br> S: 250-SIZE 157286400<br> S: 250-PIPELINING<br> S: 250-DSN<br> S: 250-ENHANCEDSTATUSCODES<br> S: 250-STARTTLS<br> S: 250-8BITMIME<br> S: 250-BINARYMIME<br> S: 250-CHUNKING<br> S: 250 SMTPUTF8<br> C: STARTTLS<br> S: 220 2.0.0 SMTP server ready<br> C: EHLO[IPv6:2a02:]<br> S: 250-AS8PR04CA0136.outlook.office365.com Hello [2a02:]<br> S: 250-SIZE 157286400<br> S: 250-PIPELINING<br> S: 250-DSN<br> S: 250-ENHANCEDSTATUSCODES<br> S: 250-AUTH LOGIN XOAUTH2<br> S: 250-8BITMIME<br> S: 250-BINARYMIME<br> S: 250-CHUNKING<br> S: 250 SMTPUTF8<br> C: AUTH XOAUTH2 dXNlcj1B...EEBAQ==<br> S: <strong>451 4.7.0 Temporary server error. Please try again later. PRX4[AS8PR04CA0136.eurprd04.prod.outlook.com]<\/strong><\/code><\/p>\n\n\n\n<p>It is a bug on the Office365 side when new business account is created with Microsoft.\u00a0<\/p>\n\n\n\n<p>Although SMTP is enabled by default, it is not working. The workaround for this issue is to turn <strong>Authenticated SMTP<\/strong> off and turn it on again.<\/p>\n\n\n\n<p>After creating the e-mail account, you have to <strong>edit the account<\/strong>. <\/p>\n\n\n\n<p>Go to <a href=\"https:\/\/admin.microsoft.com\/\">https:\/\/admin.microsoft.com\/<\/a> and click <strong>Setup<\/strong>.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"464\" height=\"337\" src=\"https:\/\/www.limilabs.com\/blog\/wp-content\/uploads\/2021\/01\/smtp1.png\" alt=\"\" class=\"wp-image-5785\" srcset=\"https:\/\/www.limilabs.com\/blog\/wp-content\/uploads\/2021\/01\/smtp1.png 464w, https:\/\/www.limilabs.com\/blog\/wp-content\/uploads\/2021\/01\/smtp1-300x218.png 300w\" sizes=\"(max-width: 464px) 100vw, 464px\" \/><\/figure>\n\n\n\n<p>On the &#8220;<strong>Active users<\/strong>&#8221; list find the account you are using:<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"720\" height=\"291\" src=\"https:\/\/www.limilabs.com\/blog\/wp-content\/uploads\/2021\/01\/smtp2.png\" alt=\"\" class=\"wp-image-5786\" srcset=\"https:\/\/www.limilabs.com\/blog\/wp-content\/uploads\/2021\/01\/smtp2.png 720w, https:\/\/www.limilabs.com\/blog\/wp-content\/uploads\/2021\/01\/smtp2-300x121.png 300w\" sizes=\"(max-width: 720px) 100vw, 720px\" \/><\/figure>\n\n\n\n<p>Then go to &#8220;<strong>Mail<\/strong>&#8221; tab then click &#8220;<strong>Manage email apps<\/strong>&#8221; <\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"563\" height=\"365\" src=\"https:\/\/www.limilabs.com\/blog\/wp-content\/uploads\/2021\/01\/smtp3.png\" alt=\"\" class=\"wp-image-5787\" srcset=\"https:\/\/www.limilabs.com\/blog\/wp-content\/uploads\/2021\/01\/smtp3.png 563w, https:\/\/www.limilabs.com\/blog\/wp-content\/uploads\/2021\/01\/smtp3-300x194.png 300w\" sizes=\"(max-width: 563px) 100vw, 563px\" \/><\/figure>\n\n\n\n<p>There is an option called \u201c<strong>Authenticated SMTP<\/strong>\u201d.\u00a0 It is ticked by default, however to actually make it work you have to <strong>uncheck it<\/strong> and save the changes, then go back in and <strong>check it again<\/strong> it and save the changes. <\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"567\" height=\"496\" src=\"https:\/\/www.limilabs.com\/blog\/wp-content\/uploads\/2021\/01\/smtp4.png\" alt=\"\" class=\"wp-image-5788\" srcset=\"https:\/\/www.limilabs.com\/blog\/wp-content\/uploads\/2021\/01\/smtp4.png 567w, https:\/\/www.limilabs.com\/blog\/wp-content\/uploads\/2021\/01\/smtp4-300x262.png 300w\" sizes=\"(max-width: 567px) 100vw, 567px\" \/><\/figure>\n\n\n\n<p>You may need to leave it unchecked for some time and wait for some time when it is rechecked, before it starts working.<\/p>\n\n\n\n<p>After this change <a href=\"\/mail\">Mail.dll client<\/a> can authenticate successfully using OAuth 2.0:<\/p>\n\n\n\n<p><code>C: AUTH XOAUTH2 dXNlcj1B...BAQ==<br>S: 235 2.7.0 Authentication successful<br>C: QUIT<\/code><\/p>\n","protected":false},"excerpt":{"rendered":"<p>When using Mail.dll SMTP .NET client to connect to Office365 using OAUTH 2.0 you may receive a following error during authentication phase: Temporary server error. Please try again later. PRX4 SMTP log looks more or less like this: Connecting to &#8216;outlook.office365.com:587&#8217;, SSL\/TLS: False. S: 220 AS8PR04CA0136.outlook.office365.com Microsoft ESMTP MAIL Service ready at Thu, 28 Jan [&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":[98,84,122],"class_list":["post-5777","post","type-post","status-publish","format-standard","hentry","category-mail-dll","category-news","tag-bug","tag-oauth-2-0","tag-office365"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/www.limilabs.com\/blog\/wp-json\/wp\/v2\/posts\/5777"}],"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=5777"}],"version-history":[{"count":15,"href":"https:\/\/www.limilabs.com\/blog\/wp-json\/wp\/v2\/posts\/5777\/revisions"}],"predecessor-version":[{"id":6489,"href":"https:\/\/www.limilabs.com\/blog\/wp-json\/wp\/v2\/posts\/5777\/revisions\/6489"}],"wp:attachment":[{"href":"https:\/\/www.limilabs.com\/blog\/wp-json\/wp\/v2\/media?parent=5777"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.limilabs.com\/blog\/wp-json\/wp\/v2\/categories?post=5777"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.limilabs.com\/blog\/wp-json\/wp\/v2\/tags?post=5777"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}