Bug 503324

Summary: Adding Office 365 account to Kmail never shows mailbox
Product: [Applications] kmail2 Reporter: natesitton80 <natesitton80>
Component: generalAssignee: kdepim bugs <pim-bugs-null>
Status: REPORTED ---    
Severity: normal    
Priority: NOR    
Version First Reported In: 6.4.0   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description natesitton80@gmail.com 2025-04-25 05:12:35 UTC
SUMMARY
Adding a Microsoft Exchange email account go through all the authentication steps, including MFA in the browser window, but never adds the mailbox

STEPS TO REPRODUCE
1. Attempt to add an Office 365 business account to Kmail using EWS, including the steps to avoid bug in akonadi when using OAuth.
2. Authenticate account and continue through all dialogs
3. Last dialog closes and account never appears in Kmail

OBSERVED RESULT
Office 365 email account is correctly authenticated, but mailbox never shows up in Kmail.

EXPECTED RESULT
Office 365 mailbox should appear after in Kmail after adding account with no shown errors.

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
(available in the Info Center app, or by running `kinfo` in a terminal window)
Linux/KDE Plasma: 
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION