Public bug reported: 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. ubuntu 25.04 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) ** Affects: gnome-online-accounts (Ubuntu) Importance: Undecided Status: New ** Tags: amd64 apport-bug plucky wayland-session ** 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: - bash - Copiar - Editar gdbus introspect --session \ - --dest org.gnome.OnlineAccounts \ - --object-path /org/gnome/OnlineAccounts \ - --recurse + --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: - bash - Copiar - Editar readonly s Uri = 'https://apidata.googleusercontent.com/caldav/v2/...' Microsoft 365 account shows: - bash - Copiar - Editar readonly s Uri = '' GNOME Calendar fails with: - arduino - Copiar - Editar + Failed to authenticate: Cannot find a corresponding account in org.gnome.OnlineAccounts Environment Ubuntu version: [e.g., 22.04 LTS] GNOME version: [e.g., 44 or 48] gnome-online-accounts version: [run apt show gnome-online-accounts] evolution-ews package installed: [yes/no] Workarounds Tried Installed evolution, evolution-data-server, and evolution-ews Removed and re-added Microsoft 365 account Restarted services: - bash - Copiar - Editar + 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. - ubuntu 25.04 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> + 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) ** 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: [e.g., 22.04 LTS] + Ubuntu version: 25.04 - GNOME version: [e.g., 44 or 48] + GNOME version: 48 - gnome-online-accounts version: [run apt show gnome-online-accounts] + gnome-online-accounts version: Package: gnome-online-accounts + Version: 3.54.1-1 - evolution-ews package installed: [yes/no] + + 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. ubuntu 25.04 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