Unable to subscribe to Office 365 IMAP folders from MUA since 2022-11-01

Anonymous
2022-11-02T07:33:01+00:00

I'm using Thunderbird to access my Office 365 mail account and it has been working fine (a couple of month ago I also switched to OAuth2 due to deprecation of basic IMAP authentication). However, since 2022-11-01, Thunderbird is unable to subscribe to IMAP folders. Last time I know it was working was last Friday 2022-10-28. Thunderbird is able to list to available folders (e.g. when opening the "Subscribe" dialog from the mail account settings), but cannot subscribe to them. I enabled IMAP logging in Thunderbird, and it shows that the server answer the subscribe request with "BAD SUBSCRIBE".

It is not a password/authentication issue, as Thunderbird can still see the content of "Inbox" and "Deleted Items". And if I disable the option "Show only subscribed folders", it can access everything in my Office 265 account.

Edit: here's the relevant logs from Thunderbird (note: I've replaced the actual folder name with "xxxx"):

[Parent ...: IMAP]: I/IMAP ...:outlook.office365.com:A:SendData: 76 subscribe "INBOX/xxxx"

[Parent ...: IMAP]: I/IMAP ...:outlook.office365.com:A:CreateNewLineFromSocket: 76 BAD SUBSCRIBE failed.
Microsoft 365 and Office | Subscription, account, billing | For business | Other

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

106 answers

Sort by: Newest
  1. Anonymous
    2022-12-15T12:50:55+00:00

    +1 affected tenant.

    It seems like Microsoft made some changes to O365's IMAP implementation?

    This affects our non-Outlook users, both students and faculties.

    IMAP with O365 isn't working with Thunderbird, Evolution and others.

    It used to work. MS must have changed something around Nov 2022?

    Was this answer helpful?

    0 comments No comments
  2. Anonymous
    2022-12-14T21:35:14+00:00

    +1 affected tenant...

    Was this answer helpful?

    0 comments No comments
  3. Anonymous
    2022-12-14T18:43:27+00:00

    Thanks for your comments. As I mentioned in the thread, the testconnectivity.microsoft.com site isn't actually testing the particular IMAP command which is failing on affected accounts, so that test will always pass.

    The only bit of extra testing I have done over the last few days is to send a load of test messages from outside my service into affected and unaffected accounts, and then examine the message headers to see if there was any pattern in the O365 nodes that handled the message. There isn't.

    I've also run up Wireshark on my machine to packet capture the response message from the server on affected and unaffected accounts when an LSUB command is issued and this confirms the above i.e. the originating IP address for the reply is pretty random, and you can sometimes see the same IP respond for both affected and unaffected accounts. On both traces.........

    Packet 1 - is my machine sending the LSUB command

    Packet 2 - Microsoft server acknowledges it

    Packet 3 - Microsoft server replies

    Packet 4 - my machine acknowledges

    The only difference in the two traces is the size of packet 3. The affected account (top) is a short message. The unaffected account (bottom) is a longer one as the server is responding with a load of info.

    So the only conclusion I can draw is this is too deep into Microsoft's O365 server architecture for any of us to see what the issue might be from the outside.

    Was this answer helpful?

    0 comments No comments
  4. Anonymous
    2022-12-14T13:51:36+00:00

    I doubt that the use of the Microsoft Support and Recovery Assistant (SaRA) will get you anywhere.

    This tool is designed to look for configuration mistakes on the client side.

    It appears that Microsoft insists that the issue exists on either the client or tenant side, while all evidence points towards the MS servers as the root of the issue instead.

    In a way they are just pointing fingers and wasting the tenant-administrators' time; this is getting quite annoying by now.

    I don't expect them to come up with a fix before beginning of 2023, if at all...

    Was this answer helpful?

    0 comments No comments
  5. Anonymous
    2022-12-14T11:51:46+00:00

    Thanks for your continuous effort, Mr Midgley.

    Here to add some more info about other users affected.

    We created an MS support case 3-4 weeks ago, attaching the code you gave, and still haven't found a solution.

    I've seen some peers mention their affected tools, and to point it out, we use Roundcube.

    There isn't any modification to the open source code, as we use it to power our Webmail built in a CRM.

    Can confirm this Subscribe failed issue is affecting our clients using Oauth2, and it all started around the same time this post emerged and some other people noticed this issue.

    As some people of this post have experienced, it is annoying that inside the same client using O365, there are users having the "Subscribe Failed" issue and others, with the same tenant and IMAP settings, continuing their lives fine, with all their folders showing or if they just have selected ones.

    This annoys users because they haven't done anything different from their peer.

    The affected users are only able to see the Inbox folder.

    We are in constant communication with the MS Support team (even tho it bothers us a bit that there is silence for some long days), and it looks like we are moving things finally, as they asked us to record and reproduce the issue while this tool is enabled, linked here (https://aka.ms/SaRA-Assisted). Still waiting a response.

    We saw the test connectivity URL you gave (https://testconnectivity.microsoft.com/tests/o365) and tried doing some diagnostics, but still it looks like the affected users are all fine, except they aren't.

    Hope my comment can show that this is big enough for MS to move things ASAP.

    Best regards,

    ~Arnau

    Was this answer helpful?

    1 person found this answer helpful.
    0 comments No comments