Closed Bug 1797951 Opened 3 years ago Closed 2 years ago

Can no longer access to microsoft office 365 messages if preference network.dns.disableIPv6 = false (works if true)

Categories

(Thunderbird :: General, defect)

Thunderbird 102
defect

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: rv.bocquet, Unassigned)

Details

(Whiteboard: [support])

Attachments

(3 files)

Attached image Capture.PNG

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:106.0) Gecko/20100101 Firefox/106.0

Steps to reproduce:

First : thunderbird stopped accessing my office messages and kept asking for the password (two - three weeks ago) ==> I did nothing !
Second : I erased and tried to re-create an office account into thunderbird manually or automatically

Actual results:

best case thunderbird answers : (see attached file)

Expected results:

Connextion to office 365 message server.

Note : I am running Thunderbird 102.4.0 on Windows 10 pro 21H2. I have the same issue on a linux machine. I can access my office 365 messages on my android phone.

Note : I am running Thunderbird 102.4.0 on Windows 10 pro 21H2. I have the same issue on a linux machine. I can access my office 365 messages on my android phone.
I also check with the account administrator for a potential account desactivation. First, he told me no, second, I have no problem with my phone.

Thanks,

Regards,

Did you use OAuth2 authentication? They are force-rolling it out to users

Thanks for the return.
Answer is no. I got tricked into this "reinforced security trick" some time ago and discoverted TB does not support it.
Regards,

It is supported, and like I wrote, they are force-rolling it out.

Sorry about it, I think I am getting confused between gmail authentification and office 365. Ages ago, I accepted to change gmail authentification system and ended up with being unable to use TB as a mailer and had to go back to the original situation.
I will check with my customer IT guy if office 365 is using OAuth2.
Thanks,

From :mkmelin:

Microsoft are force rolling out deprecation of normal password, so you have to switch to "Authentication Method: OAuth2" in the Server Settings.

https://techcommunity.microsoft.com/t5/exchange-team-blog/basic-authentication-deprecation-in-exchange-online-september/ba-p/3609437

Component: Untriaged → General
Whiteboard: [support]
Attached image Capture 02.PNG

This parameter was already set (see hardcopy). I checked again, it still does not work.

It is possible your admin turned off IMAP access.
In general O365 access is working.

Am I the only unlucky one ?

By the way, my mobile phone accesses office (using gmail mailer) in IMAP mode.

There are more instances of this being reported / discussed here:
https://support.mozilla.org/en-US/questions/1399126

Hello, the same is happening here on my university address.

The last email I got was from the 25th of December, and since then, I get this annoying error "User authenticated but not connected" (which is somehow funny, I must say). I used the same settings as above, so SSL/TLS and OAuth2. What I tried was to remove all password for this account, which results in prompting me the university connection panel as usual, but it did not fix the issue.

Another funny result is that I still can send email (so SMTP is fine), but I simply cannot see the content of the folders (so ... IMAP is broken on their side?)

Note that everything is fine using https://testconnectivity.microsoft.com/tests/O365Imap/input . This thing is even able to list my folder ;)

Apparently, this is IPv6 related; disabling it in TB resolved the problem for me:

  1. Menu > Settings > Gear > Config Editor
  2. Toggle network.dns.disableIPv6 to true

Well, I don't know how you found this out, but it is indeed the solution for me :)

Many thanks and happy new year!

(In reply to ralph.phd from comment #15)

Apparently, this is IPv6 related; disabling it in TB resolved the problem for me:

  1. Menu > Settings > Gear > Config Editor
  2. Toggle network.dns.disableIPv6 to true

That's... amazing. Helped for me as well.

(In reply to ralph.phd from comment #15)

Apparently, this is IPv6 related; disabling it in TB resolved the problem for me:

Wow, thanks much ralph.phd - how did you find that?
If network.dns.disableIPv6 = true can fix this (as several users confirmed), that may provide clues for devs what to look for when trying to fix this.

Confirming based on several user reports.

Severity: -- → S2
Status: UNCONFIRMED → NEW
Ever confirmed: true
Summary: Can no longer access to microsoft office 365 messages → Can no longer access to microsoft office 365 messages if preference network.dns.disableIPv6 = false (works if true)

(In reply to Thomas D. (:thomas8) [PTO 23-Dec to 3-Jan] from comment #18)

(In reply to ralph.phd from comment #15)

Apparently, this is IPv6 related; disabling it in TB resolved the problem for me:

Wow, thanks much ralph.phd - how did you find that?
If network.dns.disableIPv6 = true can fix this (as several users confirmed), that may provide clues for devs what to look for when trying to fix this.

Confirming based on several user reports.

Just to give credit to the right person(s): I found this in a post by thomas289 on the mozilla help forum (https://support.mozilla.org/en-US/questions/1399126#answer-1556623), which pointed to another discussion on the Microsoft board (https://learn.microsoft.com/en-us/answers/questions/1144723/office365-email-imap-user-is-authenticated-but-not.html), and then just extracted the relevant bits to share here. It takes a village ... ;)

Closing, as this was some problem on Microsoft's side. It seems to have gone away fortunately.

Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: