[Akonadi] [Bug 436403] Cannot connect to Exchange with Hybrid Modern Authentication enabled

Krzysztof Nowicki bugzilla_noreply at kde.org
Fri Apr 30 15:35:50 BST 2021


https://bugs.kde.org/show_bug.cgi?id=436403

Krzysztof Nowicki <krissn at op.pl> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REPORTED                    |CONFIRMED
     Ever confirmed|0                           |1

--- Comment #1 from Krzysztof Nowicki <krissn at op.pl> ---
Looking at the logs it seems that Akonadi EWS is requesting the token for the
O365 server (outlook.office.com). This is fine for hosted Exchange. What your
on-premise Exchange expects is a token for outlook.mycompany.com, hence it
complains.

This address is currently hard-coded inside Akonadi EWS, so it's a bug - it
should be derived from the server url or at least it should be configurable
somehow.

As a workaround you can try to compile your own Akonadi EWS version - just find
the ewsoauth.cpp file and in the o365Resource variable put the URL of your
on-premise instance. This should get you going until I fix this.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Kdepim-bugs mailing list