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

            Bug ID: 513481
           Summary: Akonadi fails to create EWS OAuth account.
    Classification: Frameworks and Libraries
           Product: Akonadi
      Version First unspecified
       Reported In:
          Platform: Fedora RPMs
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: EWS Resource
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected]
  Target Milestone: ---

Created attachment 187736
  --> https://bugs.kde.org/attachment.cgi?id=187736&action=edit
Akonadi_ews agent messages

SUMMARY
On fresh install of Fedora 43 I cannot create EWS account that uses OAuth auth
scheme for my work.
I can open configuration window, put correct data, login to MS auth service,
but no config files are saved, no account is visible in akoandiconsole

STEPS TO REPRODUCE
1.  Open 'Account configuration' via KMail configuration or Akonadiconsole,
select Microsoft Exchange Server (EWS) 
2. Fill 'account name' and 'E-mail' fields with correct data
3. Select OAuth2 (Office365) as authentication method and click 'Try to
connect' button
4. Login to MS account (here used username/pass and sms message steps).

OBSERVED RESULT
Once auth code from SMS is provided, connection window quickly flashes, then
both auth window and account configuration windows close. No account is
created, no account files appear in ~/.config/ and ~/.config/akonadi, however
agents count in ~/.config/akonadi/agentsrc file is bumped.

EXPECTED RESULT
Once account configguration is closed, account is created and visible both in
akonadiconsole and kmail settings. in KMail there should be visible EWS mails
folder.

SOFTWARE/OS VERSIONS
Operating System: Fedora Linux 43
KDE Plasma Version: 6.5.4
KDE Frameworks Version: 6.21.0
KDE Applications 25.12.0
Qt Version: 6.10.1
Kernel Version: 6.17.11-300.fc43.x86_64 (64-bit)
Graphics Platform: Wayland

ADDITIONAL INFORMATION
If I copy akoandi_ews agent config files from my old laptop (also Fedora 43
upgraded from past releases) and add it to agentsrc files, account is visible
with correct data, but it fails to authenticate. Attempt to connect and reset
authentication data has no effect. ie I can login to MS site, but no auth data
are saved and akonadi is unable to retrieve folder subscriptions.

I attach akonadi related from system log (from the moment akonadi server was
started to the last entry about ews account) and messages captured in
akonadiconsole.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to