Skip to main content
Nintex Community Menu Bar

Receive Email Action Suddenly Stops Working with Office 365

  • March 26, 2021
  • 0 replies
  • 71 views

MRepetti
Nintex Employee
Forum|alt.badge.img+10

Issue

Microsoft has started to disable and or dehydrate Basic Auth for customers for Office 365 in advance preparation of the ending of it later this year.  It is no surprise that this is causing major issues with customers.  The symptom is that the send email works but a receive email will fail with no advanced warning or intervention from IT or the customer.  If this is the case it can be TEMPORARILY turned back on by following the steps in this article.

 

**Please note we have started to support Oauth Authentication in Bot version 17.10.

 

Resolution

 

Stack overflow imap-authentication-fail-for-plain-access: 

 

Steps to Re-enable Basic Authentication 

 

In some cases the account may be dehydrated and when you click the above 'Run tests' button it will tell you that the account is 'Dehydrated' and you need to run a Powershell script with the command 'Enable-OrganizationCustomization' to rehydrate it.

Below is an email from Microsoft support with the detailed instructions on how to download and run the ExchangeOnlineManagenemt powershell.

Misbah (Microsoft)

Wednesday, July 27, 2022 6:12 PM GMT
Hello Wilbert

This is Misbah from Microsoft Support. I will be working with you on ticket

You can run the Windows PowerShell as administrator and run the following commands:

Set-ExecutionPolicy RemoteSigned
Install-Module ExchangeOnlineManagement -Force
Import-Module ExchangeOnlineManagement
Connect-ExchangeOnline
Enable-OrganizationCustomization

 

The last one will hydrate your tenant and within 24 hours you will be able to run the diagnostic.

=========================================================================

Upon the connect-ExchangeOnLine a popup will request the email address and password for the tenant that is having the issue.


Once logged in run the last command and then you will be instructed to wait for 24 hours for the account to be rehydrated.

 

After 24 hours you can then go back to the steps to Re-enable Basic Authentication

 

Now the Enable protocol box will appear after the 'Run tests" button has been clicked and you can select 'IMAP', check the box and click 'Update Settings'

 

It will then inform you to wait for an hour for the protocol to be updated

 

Related Links

From Kraft Kennedy website:

How-to-temporarily-re-enable-basic-authentication-in-exchange-online

 

From Microsoft Website:

Deprecation-of-basic-authentication-exchange-online

 

Nintex Help Document for Receiving Email
Get_Email