** Description changed:

  Description:
  On Ubuntu, when adding a Microsoft 365 account via Settings → Online 
Accounts, the account appears in GNOME Online Accounts but GNOME Calendar 
cannot authenticate or sync events.
  
  After some investigation, it seems that the Calendar backend for
  Microsoft 365 accounts does not set a valid CalDAV/EWS Uri, while Google
  accounts do.
  
  Steps to Reproduce
  Open Settings → Online Accounts and add:
  
  A Google account
  
  A Microsoft 365 account
  
  Verify the calendar backend with:
  
  gdbus introspect --session \
    --dest org.gnome.OnlineAccounts \
    --object-path /org/gnome/OnlineAccounts \
    --recurse
  Compare the Calendar interface for both accounts.
  
  Expected Behavior
  Both accounts should have a valid Uri in the 
org.gnome.OnlineAccounts.Calendar interface.
  
  Microsoft 365 should expose a proper calendar endpoint (CalDAV or EWS),
  similar to Google.
  
  Actual Behavior
  Google account shows a proper Uri, for example:
  
  readonly s Uri = 'https://apidata.googleusercontent.com/caldav/v2/...'
  Microsoft 365 account shows:
  
  readonly s Uri = ''
  GNOME Calendar fails with:
  
  Failed to authenticate: Cannot find a corresponding account in 
org.gnome.OnlineAccounts
  Environment
  Ubuntu version:  25.04
  
  GNOME version:  48
  
  gnome-online-accounts version: Package: gnome-online-accounts
  Version: 3.54.1-1
  
  evolution-ews package installed: yes
  
  Workarounds Tried
  Installed evolution, evolution-data-server, and evolution-ews
  
  Removed and re-added Microsoft 365 account
  
  Restarted services:
  
  killall goa-daemon evolution-calendar-factory
  /usr/libexec/goa-daemon &
  /usr/libexec/evolution-calendar-factory &
  Still, the Uri remains empty and calendar sync does not work.
  
  Impact
  Microsoft 365 accounts cannot sync calendar events in GNOME Calendar.
  
  Likely a bug in gnome-online-accounts or its Microsoft 365 calendar
  integration.
  
  Suggested Fix
  Investigate why the Microsoft 365 calendar backend fails to populate the Uri.
  
  Ensure that evolution-ews or appropriate connector is automatically
  used.
  
  Align behavior with Google accounts where Uri is properly set.
  
  Additional Note
  When using the Evolution application directly (with evolution-ews), Microsoft 
365 calendar synchronization works as expected. This issue only occurs when 
configuring the account through GNOME Online Accounts and using GNOME Calendar.
  
+ issue on gitlab https://gitlab.gnome.org/GNOME/gnome-online-
+ accounts/-/issues/433
+ 
  
  ProblemType: Bug
  DistroRelease: Ubuntu 25.04
  Package: gnome-online-accounts 3.54.1-1
  ProcVersionSignature: Ubuntu 6.14.0-24.24-generic 6.14.6
  Uname: Linux 6.14.0-24-generic x86_64
  ApportVersion: 2.32.0-0ubuntu5.3
  Architecture: amd64
  CasperMD5CheckResult: pass
  CurrentDesktop: ubuntu:GNOME
  Date: Mon Jul 28 01:08:50 2025
  InstallationDate: Installed on 2025-03-25 (124 days ago)
  InstallationMedia: Ubuntu 25.04 "Plucky Puffin" - Daily amd64 (20250324)
  ProcEnviron:
   LANG=en_US.UTF-8
   PATH=(custom, no user)
   SHELL=/bin/bash
   TERM=xterm-256color
   XDG_RUNTIME_DIR=<set>
  SourcePackage: gnome-online-accounts
  UpgradeStatus: No upgrade log present (probably fresh install)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2118883

Title:
   Microsoft 365 calendar account has empty URI in GNOME Online Accounts
  on Ubuntu

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnome-online-accounts/+bug/2118883/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to