Skip to content

[BUG] "Business Shared Folder has been deprecated" message is shown when no business shared folders have been configured #287

@Slater91

Description

@Slater91

Describe the bug
When configuring a SharePoint folder, the message that "Business Shared Folder has been deprecated" is shown. The message links to the page on OneDrive for Linux's wiki, which actually does not state that the feature is deprecated at all. Aside from this, the issue is that no business shared folder is configured, as the configuration is about a SharePoint folder. The option "sync_business_shared_folders" is in fact set to false in the configuration file. This seems to be a poor implementation of the check, as it always flares up whether the option is set to true or false.
It should also be noted that the configuration file was the stock one, downloaded from the OneDrive for Linux GitHub and then modified. OneDriveGUI proceeded to remove any and all comments and to add its own stuff (which it really shouldn't do!), including adding the "sync_business_shared_folders = false" option, so this is an entirely self-inflicted issue.

To Reproduce
Steps to reproduce the behavior:

  1. Setup a SharePoint folder using the method explained in the wiki
  2. Import the configuration in OneDriveGUI (as, due to issue 271, setting up SharePoint entirely inside OneDriveGUI does not work)

Expected behavior
If the option is set to false, it is ignored and no warning message is shown.

Log
If applicable, add relevant output from log file /tmp/onedrive-gui/onedrive-gui.log.

2026-04-24 13:29:49,171 [workers.py:198][fn=read_stdout][INFO] - [SharePoint_DatiAmministrazione] Reading configuration file: /home/user/.config/SharePoint_DatiAmministrazione/config
2026-04-24 13:29:49,171 [workers.py:198][fn=read_stdout][INFO] - [SharePoint_DatiAmministrazione] Invalid value for key in config file - using default value: monitor_fullscan_frequency
2026-04-24 13:29:49,171 [workers.py:198][fn=read_stdout][INFO] - [SharePoint_DatiAmministrazione] The option 'sync_business_shared_folders' has been deprecated and the process for synchronising Microsoft OneDrive Business Shared Folders has changed.
2026-04-24 13:29:49,171 [workers.py:198][fn=read_stdout][INFO] - [SharePoint_DatiAmministrazione] Please review the revised documentation on how to correctly configure this application feature.
2026-04-24 13:29:49,171 [workers.py:198][fn=read_stdout][INFO] - [SharePoint_DatiAmministrazione] You must update your client configuration and make changes to your local filesystem and online data to use this capability.
2026-04-24 13:29:49,172 [workers.py:198][fn=read_stdout][INFO] - [SharePoint_DatiAmministrazione] Configuration file has errors - please check your configuration

System Info

  • Linux distribution: Ubuntu 24.04
  • Desktop environment: MATE
  • Compositor: X11
  • Python version: 3.12.3
  • Version of OneDrive client: 2.5.10+np1+1.1

OneDriveGUI info
How did you install OneDriveGUI?: AppImage
What is the name of the AppImage file (if applicable)? : OneDriveGUI-1.3.0-x86_64.AppImage

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions