Thanks for mentioning this. I had the same problem as the person you replied to for using alpine, which does support mfa, but then the 'request' for alpine to be authorised as supported software had to be supported by my organisation. The ticket has been open for about 3 months now and apparently they're still discussing.
I don't know what davmail or mbsync are, but I'll look them up and have a go at this when I find time.
If you had any nice links to help me on my travels, I'd be very appreciative :)
Use Davmail to create a standard IMAP interface to O365, then use mbsync to poll your email account via the Davmail IMAP server and write the messages to a maildir that you can read with most any MUA.
I use davmail on Macos and linux for my uni’s office365 account with MFA, both from inside and outside the uni’s network. No need to ask for an app’s permission etc.
I don't know what davmail or mbsync are, but I'll look them up and have a go at this when I find time.
If you had any nice links to help me on my travels, I'd be very appreciative :)