All Office365 folders have disappeared from Thunderbird
Solution 1:
Have you tried to configure your account in other mail clients for testing(such as Windows Mail client)?
Sounds like Thunderbird has compatibility issues syncing with your IMAP account, I found a similar blog that mentioned disable "Show only subscribed folders" may work for it, please try to uncheck this option for testing if you haven't tried it.