How to Enable OneDrive File Access in Ubuntu 24.04 (2024)

How to Enable OneDrive File Access in Ubuntu 24.04 (1)

Among the many new features in Ubuntu 24.04 LTS is the ability to access your Microsoft OneDrive files through the Nautilus file manager.

No 3rd-party app downloads, no dodgy scripts to run, and no paid plans to cough up for because this nifty feature is part of GNOME 46 (and available in any Linux distribution using it, not just the latest Ubuntu LTS).

OneDrive file access works the same way as the (long-standing and popular) Google Drive integration: a Gvfs backend authorised through GNOME Online Accounts (via the Settings app), and then surfaced as an entry in the Nautilus sidebar.

Once configured you are able to browse, open, edit, move, and copy files to and from your cloud storage as if it was a local folder. There’s no sync or offline support, though.

I’ve seen some confusion about how to enable this feature so let’s go through it, step-by-step.

Accessing OneDrive Files in Nautilus

How to Enable OneDrive File Access in Ubuntu 24.04 (2)

When you open the Settings app and select Online Accounts from the sidebar you’ll see a list of various account types, including 3 Microsoft ones:

  • Microsoft Personal
  • Microsoft 365
  • Microsoft Exchange

Microsoft Personal is used for e-mail, e.g., Outlook, Live, Hotmail. This is the one you’ll want to use to allow desktop email clients like Thunderbird and Geary to fetch and send email using your Microsoft account.

But to access your OneDrive files using Nautilus you need to choose the Microsoft 365 provider in Online Accounts.

The dialog that opens looks complicated. There’s no mention of OneDrive or file access, just fields asking for client IDs and issuer info — doesn’t sound relevant to regular users does it?:

How to Enable OneDrive File Access in Ubuntu 24.04 (3)

But don’t panic; ignore ALL of the text fields and options in the dialog.

Yes, really.

Click the “Sign in” button without entering anything in any of the fields to open another dialog:

How to Enable OneDrive File Access in Ubuntu 24.04 (4)

Click the second “Sign In…” button.

The Microsoft website will open in your default web browser (it can take a few seconds to it to open so don’t fret if nothing happens at first).

Once the web page loads you can log in using your Microsoft account credentials. If you have several accounts be sure to enter the ones that the OneDrive files you wish to access are connected to.

Next, you’ll be asked to confirmed you’re trying to “sign in to GNOME”. Click the “Continue” button to proceed:

How to Enable OneDrive File Access in Ubuntu 24.04 (5)

After you click “Continue” Firefox will (assuming you’ve not previously authorised it to do so) ask if you wish to allow Microsoft’s sign-in site to open goa-auth2 links.

Wait a second or so for the “Open Link” button to become clickable then click it:

How to Enable OneDrive File Access in Ubuntu 24.04 (6)

The Online Accounts window will zip back into focus and, all being well, you will see your Microsoft account details listed in the dialog, along with the Microsoft 365 logo and a toggle to turn Files access on and off:

How to Enable OneDrive File Access in Ubuntu 24.04 (7)

When this toggle is turned on a virtual mount icon with your account name beside it will appear in the sidebar of the Nautilus file manager.

In Nautilus, click this new sidebar entry to “mount” your OneDrive cloud storage.

You can then browse the contents of your OneDrive like it was a regular folder — albeit with a bit of lag if your network is slow and/or you have a lot of files up in the cloud:

How to Enable OneDrive File Access in Ubuntu 24.04 (8)

You won’t see file thumbnails for remote mounts by default. No, not a bug; Nautilus is configured to only load thumbnails/previews for local files. This is because loading previews for remote files can slow things down, increase data usage, and so on.

You can manually change this behaviour in Nautilus‘ preferences:

How to Enable OneDrive File Access in Ubuntu 24.04 (9)

Alas, changing this setting made no difference for me. Image thumbnails still don’t load, not unless I open the relevant file (e.g., view an image in the native Ubuntu image viewer) first. While annoying I don’t consider this a deal breaker.

And that’s it; you’ve now enabled OneDrive access in Ubuntu 24.04 LTS without needing to download anything else.

Tweaking things

You may want to tweak the Ubuntu Dock (Settings > Ubuntu Desktop) to hide unmounted drives or hide remote mounts from being shown. If not, get used to having a generic grey server icon taking up space in the dock.

You can also use toggle the Files switch in your Microsoft 365 account panel to disable/enable OneDrive access as and when you need it. Turning it off hides the mount icon in the Ubuntu Dock as well as the sidebar entry that shows in the Nautilus sidebar.

How to Enable OneDrive File Access in Ubuntu 24.04 (2024)

FAQs

How to Enable OneDrive File Access in Ubuntu 24.04? ›

You can also use toggle the Files switch in your Microsoft 365 account panel to disable/enable OneDrive access as and when you need it. Turning it off hides the mount icon in the Ubuntu Dock as well as the sidebar entry that shows in the Nautilus sidebar.

How to access OneDrive in Ubuntu? ›

How do I access my OneDrive files on Ubuntu? Once you have installed the OneDrive client on Ubuntu, your OneDrive files will be accessible through the Ubuntu file manager. You can browse, open, and edit your OneDrive files just like any other file on your computer.

How do I allow OneDrive to access files? ›

Right-click the file or folder and select Manage access, then click Advanced in the lower right of the window. This will open a new Permissions browser window. From the Permissions window, click Grant Permissions.

How to add OneDrive in File Explorer Ubuntu? ›

Click the 'Connect to OneDrive.com' button at the top of the preferences dialog to be redirected to your web browser. Log in (if/when asked) and grant permission. All that's left is to return to the Preferences pane to select a folder/directory to store your synced files and set any file exclusions (e.g., .

How do I grant direct access to OneDrive folder? ›

To grant someone permission to a file using Direct access, start by clicking the "More actions for this item" three-dot menu that appears when you point to a file or folder in Microsoft Teams, SharePoint, or OneDrive My Files. From the popup menu, select "Manage access."

How do I access OneDrive folder in Linux? ›

OneDrive as a desktop application is not available on Linux. You can access your stored files via the web interface, but you won't get the native feel of using the cloud storage in the file manager.

How to configure OneDrive on Linux? ›

Sync Microsoft OneDrive in Linux with rclone
  1. Step 1: Install Rclone. ...
  2. Step 2: Adding new remote. ...
  3. Step 3: Select the cloud service you want to sync with rclone. ...
  4. Step 4: Log in to OneDrive account. ...
  5. Step 5: Enter account type. ...
  6. Step 6: Mounting OneDrive in the file manager. ...
  7. Step 6: Mount One Drive on startup.
Jun 12, 2020

How to fix OneDrive no access permissions? ›

For a OneDrive site, select Settings > Site Settings > Site permissions. In the ribbon, select Check Permissions. In the User/Group field, enter the user's name, and then select Check Now.

Why can't I access my OneDrive documents? ›

Check Firewall and Antivirus Settings: Some firewall or antivirus settings may interfere with OneDrive synchronization. Check if any settings are blocking OneDrive and adjust them accordingly. Reset OneDrive: You can try resetting the OneDrive app on your device.

How do I give OneDrive access to external Users? ›

Just right-click the file or folder in your OneDrive folder on your computer and select Share a OneDrive link. This will copy a link to your clipboard that you can paste wherever you want to send it. However, these links are set by default to Edit permission.

How do I sync OneDrive with Linux? ›

Sync OneDrive on Linux in 3 easy steps
  1. Sign in OneDrive. Download and install Insync to sign in OneDrive with your Microsoft Account. ...
  2. Use Cloud Selective Sync. To sync a OneDrive file down to your Linux desktop, use Cloud Selective Sync. ...
  3. Access OneDrive on Linux desktop.
Aug 22, 2019

How do I add my work OneDrive to File Explorer? ›

Adding OneDrive to File Explorer:
  1. Search for OneDrive in the search bar of your computer.
  2. Sign in to OneDrive. ...
  3. Open the OneDrive setup.
  4. From your OneDrive folder screen select next to accept the default location.

How to view OneDrive permissions? ›

When you select an item in the Shared with list, the Manage Access panel opens: The Links Giving Access section shows the links that have permissions to the file or folder. Click the ellipsis (...) to see the users that the link has been shared with.

Does Ubuntu have OneDrive? ›

Whilst there are onedrive Universe packages available for Ubuntu, do not install 'onedrive' from these Universe packages. The default Ubuntu Universe packages are out-of-date and are not supported and should not be used.

How do I access system folders in Ubuntu? ›

Click a parent folder in the path bar to go to that folder. Right-click any folder in the path bar to open it in a new tab or window, or access its properties. If you want to quickly search for a file, in or below the folder you are viewing, start typing its name.

How do I access my network drive in Ubuntu? ›

Linux (Ubuntu)
  1. Open Files and select Other Locations from the list on the left.
  2. Enter the server address of the network drive in text field in the bottom right. ...
  3. Click Connect.
  4. Select Connect As: Registered User , enter your Zedat username, the domain bcp.fu-berlin.de and your Zedat password. ...
  5. Click Connect .

How do I access a shared drive in Ubuntu? ›

Connect to a file server
  1. In the file manager, click Other Locations in the sidebar.
  2. In Connect to Server, enter the address of the server, in the form of a URL. Details on supported URLs are listed below. ...
  3. Click Connect. The files on the server will be shown.

References

Top Articles
Latest Posts
Article information

Author: Twana Towne Ret

Last Updated:

Views: 5372

Rating: 4.3 / 5 (64 voted)

Reviews: 95% of readers found this page helpful

Author information

Name: Twana Towne Ret

Birthday: 1994-03-19

Address: Apt. 990 97439 Corwin Motorway, Port Eliseoburgh, NM 99144-2618

Phone: +5958753152963

Job: National Specialist

Hobby: Kayaking, Photography, Skydiving, Embroidery, Leather crafting, Orienteering, Cooking

Introduction: My name is Twana Towne Ret, I am a famous, talented, joyous, perfect, powerful, inquisitive, lovely person who loves writing and wants to share my knowledge and understanding with you.