Bug 514029

Summary: Cannot successfully make EWS resource
Product: [Frameworks and Libraries] Akonadi Reporter: Serena Star <LionsSharks15>
Component: EWS ResourceAssignee: kdepim bugs <pim-bugs-null>
Status: REPORTED ---    
Severity: normal CC: carl, goosople, krissn
Priority: NOR    
Version First Reported In: 6.3.3   
Target Milestone: ---   
Platform: Debian stable   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Serena Star 2026-01-01 04:26:50 UTC
SUMMARY
When I try to make an EWS resource for my Microsoft 365 account, I log in using the OAuth 2.0 login. When I successfully authenticate, the entry on the receiving accounts disappears and is not shown in any Akonadi programs.

STEPS TO REPRODUCE
1. Open KMail
2. Add custom EWS account
3. Input email and log in via OAuth2.0
4. Web login works, KDE progress bar appears for a second or two, then the entry disappears from the Receiving tab

OBSERVED RESULT
Above, and account is not added.

EXPECTED RESULT
Account should be successfully added to the "Receiving" tab and sync my Mail, Calendar, and Contacts

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: 6.3.6
KDE Frameworks Version: 6.13.0
Qt Version: 6.8.2

ADDITIONAL INFORMATION
Debian 13
Using SQLite database