Kmail: Resource "Mailbox" is broken. Authentication failed

I am using Kmail for my university’s Outlook email. At seemingly random intervals I get an error relating to authentication (see below image) and I will have to manually select Check Mail to update my inbox.


My university uses Duo for authentication. Is there a known solution or should I file a bug report?

Operating System: Fedora Linux 38
KDE Plasma Version: 5.27.4
KDE Frameworks Version: 5.105.0
Qt Version: 5.15.9
Kernel Version: 6.2.14-300.fc38.x86_64 (64-bit)
Graphics Platform: X11

I wonder, have you tried the Kontact flatpak? It has been pretty reliable in my experience (though I’m one of those people who never experience dealbreaking issues like that with KMail for whatever reason).

I think it is a bug. I have at the moment some IMAP accounts, an EWS resource, and a corporate EWS resource. I see the same intermittent errors as you but only on the corporate exchange account, which would be the same kind as your university.