Bug 493681

Summary: EWS resource can no longer connect to hotmail.com due to Microsoft removing basic authentication
Product: [Frameworks and Libraries] Akonadi Reporter: Bruno Pitrus <brunopitrus>
Component: EWS ResourceAssignee: kdepim bugs <kdepim-bugs>
Status: REPORTED ---    
Severity: grave CC: carl, krissn
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Bruno Pitrus 2024-09-26 10:07:53 UTC
SUMMARY


STEPS TO REPRODUCE
1. Get a hotmail (outlook.com) account
2. Try to add it to KMail using EWS transport

OBSERVED RESULT
When adding using password, “Failed to process EWS request: Host requires authorization”

When adding using OAuth, a dialog pops up asking for login and password, and then a throbber dialog hangs indefinitely after entering correct password.


EWS URL is set to https://outlook.office365.com/ews/exchange.asmx 
I also tried to replace the domail with `m.hotmail.com` and `m.outlook.com` but neither of these worked.

EXPECTED RESULT
Authenticating using password worked in the past.
OAuth never worked for me.


SOFTWARE/OS VERSIONS
Linux/KDE Plasma: openSUSE Tumbleweed
KDE Plasma Version: 6.1.5
KDE Frameworks Version:  6.6.0
Qt Version: 6.7.2
kdepim-runtime version 24.08.1