Public bug reported:

On Ubuntu 24.04 (GNOME 45), adding a Microsoft account via Settings →
Online Accounts does not persist the account.

Steps to reproduce:
1. Open Settings → Online Accounts → Microsoft 365
2. Complete Microsoft OAuth (consent screen “Are you trying to sign in to 
GNOME?” appears)
3. Click Continue
4. Dialog closes or appears frozen
5. Microsoft account does not appear as a functional account

Note: The issue occurs when adding the account via “Microsoft 365” in
Settings; this uses the same Microsoft provider internally.

Expected result:
The Microsoft account should be stored and available to GNOME services.

Actual result:
OAuth completes, but the account is not persisted.
No Microsoft entry appears in:
gsettings list-recursively org.gnome.online-accounts

Files shows a OneDrive entry, but opening it fails with:
“This location could not be displayed… OneDrive: The connection is closed.”

Additional information:
- gnome-online-accounts version: 3.50.4-0ubuntu2
- Ubuntu version: 24.04 (Noble)
- GNOME Shell 45
- WebKitGTK 2.50.x
- Occurs with all GNOME Shell extensions disabled
- ~/.config/goa-1.0 exists with correct permissions
- In some attempts, journalctl logs:
  Error writing key-value-file ~/.config/goa-1.0/accounts.conf: No such file or 
directory
- In other attempts, the failure is silent

This appears to be a regression in the Microsoft provider in GNOME
Online Accounts on GNOME 45.

ProblemType: Bug
DistroRelease: Ubuntu 24.04
Package: gnome-online-accounts 3.50.4-0ubuntu2
ProcVersionSignature: Ubuntu 6.14.0-37.37~24.04.1-generic 6.14.11
Uname: Linux 6.14.0-37-generic x86_64
NonfreeKernelModules: nvidia_modeset nvidia
ApportVersion: 2.28.1-0ubuntu3.8
Architecture: amd64
CasperMD5CheckResult: pass
CurrentDesktop: ubuntu:GNOME
Date: Fri Jan 30 09:40:45 2026
InstallationDate: Installed on 2026-01-11 (19 days ago)
InstallationMedia: Ubuntu 24.04.3 LTS "Noble Numbat" - Release amd64 
(20250805.1)
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 noble

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

Title:
  Microsoft OAuth completes but account is not persisted in GNOME Online
  Accounts on Ubuntu 24.04

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


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to