Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

Cannot connect to Office365 IMAP (with IdP)

#2233

My company has a bit of a complicated setup, and just implemented multi-factor authentication with an identity provider connected to Office 365. When I try to login with my credentials, nothing happens. It doesn't seem to be rejecting my password.

I've successfully done this before, but not since we implemented MFA. There is no way through our IdP to get an application specific password. I've confirmed that IMAP is enabled on our Office365 account.

Any advice or ideas appreciated.

From the Activity Viewer:
16:37:48 Handling reply
16:37:48 Running action
16:37:48 Sending request (2)
16:37:48 Handling request
16:37:48 Clearing connection to outlook.office365.com
16:37:51 Ready to run action (retry count: 3)
16:37:51 Clearing connection to outlook.office365.com
16:37:51 Trying to connect to outlook.office365.com on port 993 (CFNetwork) without STARTTLS (not required)
16:37:51 Resolved hostname (outlook.office365.com).
16:37:51 Successful connection.
16:38:45 S:
16:38:45 Error code: 9
16:38:45 New timeout values (8/8): 81/81
16:38:45 Failed action (1000). Reset observed read/write timeouts: 8/8

16:38:45 Handling reply
16:38:45 Error: Failed multiple retries (4). Final error code was 9.
16:38:45 Terminating non-running connection...
16:38:55 Running action
16:38:55 Sending request (3)
16:38:55 Handling request
16:38:55 Clearing connection to outlook.office365.com
16:38:55 Ready to run action (retry count: 0)
16:38:55 Clearing connection to outlook.office365.com
16:38:55 Trying to connect to outlook.office365.com on port 993 (CFNetwork) without STARTTLS (not required)
16:38:55 Resolved hostname (outlook.office365.com).
16:38:55 Successful connection.
16:39:55 Waited 60 seconds on read.
16:39:55 Error: Reading ended without error.
16:39:55 S: <<< terminated reading >>>
16:39:55 Error code: 10
16:39:55 Failed action (1000). Reset observed read/write timeouts: 40/8

Reported by Scott Palmer · January 18th, 2019 @ 04:48 PM

State: new
Milestone: none
Assigned to: benny benny

Activity

  1. Scott Palmer
    Scott Palmer

    Solved - installed DavMail https://github.com/mguessan/davmail and that allowed me to use MM with my rather odd corporate setup.

    September 3rd, 2019 @ 01:05 PM

  2. olivernoah41 (at gmail)
    olivernoah41 (at gmail)

    Great and fantastic article. All points are very useful and informative. Thanks for sharing this with us. rubber matting

    September 16th, 2019 @ 07:47 AM

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.