Public bug reported:

GVFS OneDrive mounts Microsoft 365 Family accounts but cannot access files 
("Connection is closed"), while free OneDrive accounts work correctly
Ubuntu Version
Ubuntu 24.04 LTS (Noble)
Package Versions
Plain Text
gnome-online-accounts 3.50.4-0ubuntu2
gvfs 1.54.4-0ubuntu1~24.04.2
gvfs-backends 1.54.4-0ubuntu1~24.04.2
gvfs-daemons 1.54.4-0ubuntu1~24.04.2
Mostrar mais linhas
Kernel:
Plain Text
Linux 6.8.0-142-generic
Mostrar mais linhas
Summary
OneDrive accounts associated with a Microsoft 365 Family subscription can be 
added successfully through GNOME Online Accounts and appear mounted in 
Nautilus/Caja. The mount is visible and directory listings work, but any 
attempt to access files or navigate deeper into the OneDrive produces 
"Connection is closed".
A free personal OneDrive account works correctly on the same system.
Expected Result
After adding a Microsoft account through GNOME Online Accounts:
    • OneDrive should mount successfully. 
    • Files and directories should be browseable through Nautilus/Caja. 
    • Files should be readable/openable. 
Actual Result
    • Account authentication succeeds. 
    • OneDrive mount appears correctly. 
    • Top-level directory listing works. 
    • Accessing files or subdirectories fails. 
    • Nautilus and Caja show: 
Plain Text
Connection is closed
Mostrar mais linhas
    • Files visible in listings cannot be opened or copied. 
Reproduction Steps
    1. Open GNOME Online Accounts. 
    2. Add a Microsoft account that belongs to a Microsoft 365 Family 
subscription. 
    3. Open Nautilus. 
    4. Open the mounted OneDrive. 
    5. Attempt to access files or directories. 
Additional Observations
The following succeeds:
Shell
gio mount -l
``
Mostrar mais linhas
Mounted OneDrive entries appear correctly, for example:
Plain Text
onedrive://899cc152df089daa/
Mostrar mais linhas
Directory listing works:
Shell
gio list onedrive://899cc152df089daa/
Mostrar mais linhas
Output:
Plain Text
Compartilhado comigo
OneDrive
Mostrar mais linhas
Further listing also works:
Shell
gio list "onedrive://899cc152df089daa/OneDrive"
Mostrar mais linhas
Output:
Plain Text
Imagens
Anexos
Introdução ao OneDrive.pdf
Documentos
Mostrar mais linhas
File metadata retrieval fails:
Shell
gio info "onedrive://899cc152df089daa/OneDrive/Introdução ao OneDrive.pdf"
Mostrar mais linhas
Output:
Plain Text
gio: ... Nenhum arquivo ou diretório
Mostrar mais linhas
Opening files fails:
Shell
gio open "onedrive://899cc152df089daa/OneDrive/Introdução ao OneDrive.pdf"
Mostrar mais linhas
Output:
Plain Text
gio: ... Nenhum arquivo ou diretório
Mostrar mais linhas
Copying files through GVFS/FUSE fails:
Shell
cp "/run/user/1001/gvfs/onedrive:host=899cc152df089daa/OneDrive/Introdução ao 
OneDrive.pdf" ~/Downloads/
Mostrar mais linhas
Output:
Plain Text
cp: Arquivo ou diretório inexistente
Mostrar mais linhas
Troubleshooting Performed
    • Removed and re-added Microsoft accounts. 
    • Rebooted system. 
    • Created a new Ubuntu user profile and reproduced the issue. 
    • Reinstalled: 
        ◦ gvfs 
        ◦ gvfs-backends 
        ◦ gvfs-daemons 
        ◦ gnome-online-accounts 
    • Cleared GVFS metadata cache. 
    • Tested both Nautilus and Caja. 
    • Verified that goa-daemon and gvfs-goa-volume-monitor are running. 
Important Comparison
Free personal OneDrive account:
Plain Text
Works correctly.
Files are accessible.
``
Mostrar mais linhas
Microsoft 365 Family organizer account:
Plain Text
Fails.
Connection is closed.
Mostrar mais linhas
Microsoft 365 Family member account:
Plain Text
Fails.
Connection is closed.
Mostrar mais linhas
Therefore the issue appears to be related specifically to OneDrive accounts 
associated with Microsoft 365 Family subscriptions rather than authentication, 
Nautilus, user profile configuration, or basic GVFS mounting.

GVFS OneDrive mounts Microsoft 365 Family accounts but cannot access files 
("Connection is closed"), while free OneDrive accounts work correctly
Ubuntu Version
Ubuntu 24.04 LTS (Noble)
Package Versions
Plain Text
gnome-online-accounts 3.50.4-0ubuntu2
gvfs 1.54.4-0ubuntu1~24.04.2
gvfs-backends 1.54.4-0ubuntu1~24.04.2
gvfs-daemons 1.54.4-0ubuntu1~24.04.2
Mostrar mais linhas
Kernel:
Plain Text
Linux 6.8.0-142-generic
Mostrar mais linhas
Summary
OneDrive accounts associated with a Microsoft 365 Family subscription can be 
added successfully through GNOME Online Accounts and appear mounted in 
Nautilus/Caja. The mount is visible and directory listings work, but any 
attempt to access files or navigate deeper into the OneDrive produces 
"Connection is closed".
A free personal OneDrive account works correctly on the same system.
Expected Result
After adding a Microsoft account through GNOME Online Accounts:
    • OneDrive should mount successfully. 
    • Files and directories should be browseable through Nautilus/Caja. 
    • Files should be readable/openable. 
Actual Result
    • Account authentication succeeds. 
    • OneDrive mount appears correctly. 
    • Top-level directory listing works. 
    • Accessing files or subdirectories fails. 
    • Nautilus and Caja show: 
Plain Text
Connection is closed
Mostrar mais linhas
    • Files visible in listings cannot be opened or copied. 
Reproduction Steps
    1. Open GNOME Online Accounts. 
    2. Add a Microsoft account that belongs to a Microsoft 365 Family 
subscription. 
    3. Open Nautilus. 
    4. Open the mounted OneDrive. 
    5. Attempt to access files or directories. 
Additional Observations
The following succeeds:
Shell
gio mount -l
``
Mostrar mais linhas
Mounted OneDrive entries appear correctly, for example:
Plain Text
onedrive://899cc152df089daa/
Mostrar mais linhas
Directory listing works:
Shell
gio list onedrive://899cc152df089daa/
Mostrar mais linhas
Output:
Plain Text
Compartilhado comigo
OneDrive
Mostrar mais linhas
Further listing also works:
Shell
gio list "onedrive://899cc152df089daa/OneDrive"
Mostrar mais linhas
Output:
Plain Text
Imagens
Anexos
Introdução ao OneDrive.pdf
Documentos
Mostrar mais linhas
File metadata retrieval fails:
Shell
gio info "onedrive://899cc152df089daa/OneDrive/Introdução ao OneDrive.pdf"
Mostrar mais linhas
Output:
Plain Text
gio: ... Nenhum arquivo ou diretório
Mostrar mais linhas
Opening files fails:
Shell
gio open "onedrive://899cc152df089daa/OneDrive/Introdução ao OneDrive.pdf"
Mostrar mais linhas
Output:
Plain Text
gio: ... Nenhum arquivo ou diretório
Mostrar mais linhas
Copying files through GVFS/FUSE fails:
Shell
cp "/run/user/1001/gvfs/onedrive:host=899cc152df089daa/OneDrive/Introdução ao 
OneDrive.pdf" ~/Downloads/
Mostrar mais linhas
Output:
Plain Text
cp: Arquivo ou diretório inexistente
Mostrar mais linhas
Troubleshooting Performed
    • Removed and re-added Microsoft accounts. 
    • Rebooted system. 
    • Created a new Ubuntu user profile and reproduced the issue. 
    • Reinstalled: 
        ◦ gvfs 
        ◦ gvfs-backends 
        ◦ gvfs-daemons 
        ◦ gnome-online-accounts 
    • Cleared GVFS metadata cache. 
    • Tested both Nautilus and Caja. 
    • Verified that goa-daemon and gvfs-goa-volume-monitor are running. 
Important Comparison
Free personal OneDrive account:
Plain Text
Works correctly.
Files are accessible.
``
Mostrar mais linhas
Microsoft 365 Family organizer account:
Plain Text
Fails.
Connection is closed.
Mostrar mais linhas
Microsoft 365 Family member account:
Plain Text
Fails.
Connection is closed.
Mostrar mais linhas
Therefore the issue appears to be related specifically to OneDrive accounts 
associated with Microsoft 365 Family subscriptions rather than authentication, 
Nautilus, user profile configuration, or basic GVFS mounting.

If requested, I can provide additional GVFS debug logs and test
patches/packages. The issue appears reproducible on a clean Ubuntu 24.04
user profile and affects multiple Microsoft 365 Family accounts.


If requested, I can provide additional GVFS debug logs and test 
patches/packages. The issue appears reproducible on a clean Ubuntu 24.04 user 
profile and affects multiple Microsoft 365 Family accounts.

ProblemType: Bug
DistroRelease: Ubuntu 24.04
Package: gvfs-backends 1.54.4-0ubuntu1~24.04.2
ProcVersionSignature: Ubuntu 6.8.0-142.142-generic 6.8.12
Uname: Linux 6.8.0-142-generic x86_64
NonfreeKernelModules: nvidia_modeset nvidia
ApportVersion: 2.28.3-0ubuntu0.1
Architecture: amd64
CasperMD5CheckMismatches: ./boot/grub/efi.img ./casper/initrd ./casper/vmlinuz 
./scripts/chroot-scripts/os-post/70_fix-apt-installed.sh
CasperMD5CheckResult: fail
CurrentDesktop: ubuntu:GNOME
Date: Fri Sep 25 18:06:21 2026
DistributionChannelDescriptor:
 # This is the distribution channel descriptor for the OEM CDs
 # For more information see http://wiki.ubuntu.com/DistributionChannelDescriptor
 canonical-oem-somerville-jammy-amd64-20220504-33
InstallationDate: Installed on 2025-04-30 (513 days ago)
InstallationMedia: Ubuntu 22.04 LTS "Jammy Jellyfish" - 
somerville-jammy-amd64-20220504-33
SourcePackage: gvfs
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: gvfs (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug noble third-party-packages

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

Title:
  GVFS OneDrive mounts Microsoft 365 Family accounts but cannot access
  files ("Connection is closed"), while free OneDrive accounts work
  correctly

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gvfs/+bug/2168580/+subscriptions


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

Reply via email to