[Akonadi] [Bug 389369] New: Can't Authenticate to Office 365

Emre bugzilla_noreply at kde.org
Wed Jan 24 12:38:36 GMT 2018


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

            Bug ID: 389369
           Summary: Can't Authenticate to Office 365
           Product: Akonadi
           Version: 5.7.1
          Platform: Other
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: EWS Resource
          Assignee: kdepim-bugs at kde.org
          Reporter: erenoglu at hotmail.com
                CC: krissn at op.pl
  Target Milestone: ---

I'm giving a try to use Kmail instead of Evolution in my work setup. Our
company uses Office 365. Evolution is able to connect to
     https://outlook.office365.com/EWS/Exchange.asmx
and access the mailbox with "basic" authentication, using email address as
username and a special app password (otherwise we have OAUTH dual factor
authentication). Same for the AquaMail app on my Android, both using EWS.

However, akonadi-ews can't connect, throws unable to connect errors, "offline"
or "401" errors.

I tried adding DOMAIN field, keeping it empty, etc, it didn't make any
difference. I also selected and deselected NTLMv2, no difference. I added the
following to .config/QtProject/qtlogging.ini to have more details but my system
does not have any .xsession-errors file (using KDE on GDM)
   [rules]
   kf5.kio.kio_http.auth=true

Here's the error I have in the system journal, email address changed for
privacy.

kiod5[6190]: org.kde.kio.kpasswdserver: User = "" , WindowId = 0
kiod5[6190]: org.kde.kio.kpasswdserver: User = "emre.emre at company.com" ,
WindowId = 0
kiod5[6190]: org.kde.kio.kpasswdserver: User = "emre.emre at company.com" ,
WindowId = 0 seqNr = 2 , errorMsg = "<NoAuthPrompt>"
kiod5[6190]: org.kde.kio.kpasswdserver: key=
"https-emre.emre at company.com@outlook.office365.com:-1" , user=
"emre.emre at company.com" se
kiod5[6190]: org.kde.kio.kpasswdserver: key=
"https-emre.emre at company.com@outlook.office365.com:-1"
akonadi_ews_resource[6733]: org.kde.pim.ews.client: Failed to process EWS
request - HTTP code 401
kiod5[6190]: org.kde.kio.kpasswdserver: User = "" , WindowId = 0
kiod5[6190]: org.kde.kio.kpasswdserver: User = "emre.emre at company.com" ,
WindowId = 0
kiod5[6190]: org.kde.kio.kpasswdserver: User = "emre.emre at company.com" ,
WindowId = 0 seqNr = 0 , errorMsg = "<NoAuthPrompt>"
kiod5[6190]: org.kde.kio.kpasswdserver: key=
"https-emre.emre at company.com@outlook.office365.com:-1" , user=
"emre.emre at company.com" se
kiod5[6190]: org.kde.kio.kpasswdserver: key=
"https-emre.emre at company.com@outlook.office365.com:-1"
akonadi_ews_resource[6733]: org.kde.pim.ews.client: Failed to process EWS
request - HTTP code 401
akonadi_ews_resource[6733]: org.kde.pim.ews.client: Failed to process EWS
request - HTTP code 401
 kiod5[6190]: org.kde.kio.kpasswdserver: User = "" , WindowId = 0
kiod5[6190]: org.kde.kio.kpasswdserver: User = "" , WindowId = 0
kiod5[6190]: org.kde.kio.kpasswdserver: User = "emre.emre at company.com" ,
WindowId = 0
kiod5[6190]: org.kde.kio.kpasswdserver: User = "emre.emre at company.com" ,
WindowId = 0 seqNr = 4 , errorMsg = "<NoAuthPrompt>"
kiod5[6190]: org.kde.kio.kpasswdserver: key=
"https-emre.emre at company.com@outlook.office365.com:-1" , user=
"emre.emre at company.com" se
kiod5[6190]: org.kde.kio.kpasswdserver: key=
"https-emre.emre at company.com@outlook.office365.com:-1"
akonadi_ews_resource[6733]: org.kde.pim.ews.client: Failed to process EWS
request - HTTP code 401
akonadi_ews_resource[6733]: ERROR "Failed to process EWS request - HTTP code
401"

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


More information about the Kdepim-bugs mailing list