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-22T15:03:22+00:00

    This is purely speculation but I'm wondering if Microsoft broke IMAP again in a similar way on this occasion, issued a quick code patch to fix it, but didn't restart the relevant services properly - leaving some accounts to hang in a broken state with the defective code. Affected accounts could simply be the ones that happened to try and connect with IMAP within the time frame it took Microsoft to realise they had a problem.

    I suspect the real cause is different from the hypothesized one.

    The reason is that issues with my affected account arose not at the beginning of November,

    but only later that month when our Exchange tenant was migrated from a local server to the Microsoft O365 cloud. During this procedure classic password authentication was also substituted for OAuth2.

    The issues started immediately after.

    I must have missed that point in your particular case. It certainly puts a different slant on it. What does your system administrator think of the issue? Did it affect all of the pre-existing accounts that were migrated? Have they had any problems with any new mail accounts created since the migration took place?

    I'm still not convinced of any link to the Oauth2 change though. My affected and unaffected accounts were running Oauth2 long before the change. The Microsoft test script requires you to log in as the user you're testing at the start of the script and it is clearly using Oauth2 to do that. The only difference between an affected and an unaffected account is the server response to the LSUB commands.

    Was this answer helpful?

    0 comments No comments
  2. Anonymous
    2022-12-22T14:07:03+00:00

    I'd take that with a pinch of salt, as I'm sure they didn't provide any justification/evidence for why they think it might be a client side problem + as we know, Microsoft's own test script provided to me exhibits the exact same problems as the various affected MUAs too.

    [...]

    I suspect this will mysteriously resolve itself at some point.

    Gotta love that transparency and open communication; makes you really trust the service provider whom you are dependent on.

    Was this answer helpful?

    0 comments No comments
  3. Anonymous
    2022-12-22T14:04:23+00:00

    This is purely speculation but I'm wondering if Microsoft broke IMAP again in a similar way on this occasion, issued a quick code patch to fix it, but didn't restart the relevant services properly - leaving some accounts to hang in a broken state with the defective code. Affected accounts could simply be the ones that happened to try and connect with IMAP within the time frame it took Microsoft to realise they had a problem.

    I suspect the real cause is different from the hypothesized one.

    The reason is that issues with my affected account arose not at the beginning of November,

    but only later that month when our Exchange tenant was migrated from a local server to the Microsoft O365 cloud. During this procedure classic password authentication was also substituted for OAuth2.

    The issues started immediately after.

    Was this answer helpful?

    0 comments No comments
  4. Anonymous
    2022-12-22T11:28:01+00:00

    Wow - I am flabbergasted by the "support's" incompetency.

    But hey, let's just archive and forget about these bug reports; problem solved.

    Only thing left to do now, is to wait for some forum agent's run-of-the-mill reply to be selected as the accepted answer and this thread to be locked.

    When Microsoft "Archive" a case, I think that is just their strange terminology for what everyone else in the IT world calls "suspend". They have archived my case a couple of times when they weren't expecting any update for a few days.

    Was this answer helpful?

    0 comments No comments
  5. Anonymous
    2022-12-22T10:59:04+00:00

    We are on break so my case is archived. They looked at your ticket and they were not convinced it wasn't a client problem. They were convinced that

    112 lsub "" *

    was much different than

    1780 lsub "" *.

    I tried to explain RFC3501 and tagged responses but they couldn't understand.

    I'd take that with a pinch of salt, as I'm sure they didn't provide any justification/evidence for why they think it might be a client side problem + as we know, Microsoft's own test script provided to me exhibits the exact same problems as the various affected MUAs too.

    I found this old posting from 2016 the other day where Microsoft caused the same problem as we are all seeing now. Unfortunately, I can't access the Microsoft incident report after all this time to see if there is any more useful info on what happened - so I have flagged it up to Microsoft.

    https://thunderbirdtweaks.blogspot.com/2016/01/outlookcom-office365-imap-subscribed.html

    This is purely speculation but I'm wondering if Microsoft broke IMAP again in a similar way on this occasion, issued a quick code patch to fix it, but didn't restart the relevant services properly - leaving some accounts to hang in a broken state with the defective code. Affected accounts could simply be the ones that happened to try and connect with IMAP within the time frame it took Microsoft to realise they had a problem. That would explain:

    1. Why the problem affected ALL of the O365 accounts on Thunderbird on my own machine, as all will have been accessed at the same time when I started Thunderbird
    2. Why I was able to add several test accounts to Thunderbird after the event, that had never been accessed with IMAP before, and these all work perfectly well - and still do.

    I suspect this will mysteriously resolve itself at some point.

    Was this answer helpful?

    0 comments No comments