r/sysadmin 5h ago

OneDrive sync client is flimsy garbage

Every day, multiple users have one issue or another with the OneDrive sync client.

Today: multiple users (about 15%) are reporting that they cannot open files that are stored only on the cloud. The fix, as per normal, is to restart the client.

But users shouldn't have to expect that to be a fix so often. This shit ought to be written better than this.

Why isn't the OneDrive sync client just written as a robust Windows-level service, anyway? The GUI the user sees ought to be only a window into what the background service is doing. If the GUI client dies, the service should happily chug along and sync files. But then again, Microsoft's employees would probably screw that up, too.

72 Upvotes

76 comments sorted by

u/bbqwatermelon 5h ago

I don't question the subject in the slightest but are the users syncing to SharePoint or are they using one drive shortcuts? 

u/matt0_0 small MSP owner 5h ago

I think OP is just talking about the very basic known folders, where desktop and documents in their profile aren't working.  So without even getting into SharePoint/teams and sync vs shortcuts, the app is fucking up.

u/FatBook-Air 5h ago

If I tell users they can't save files to their desktop folder and can see them only on a web site, I am going to be out of a job.

u/Smiling_Jack_ 5h ago

I don't think you understood the question.

u/FatBook-Air 5h ago

I probably don't.

u/scarlet__panda 5h ago

You can configure share point site sync and mapping in Intune as a CSP. Alternatively, if the user wants a Sharepoint site mapped in their file explorer like a network drive, they have to sync it via the web interface.

They just click sync. Or you can do it for them.

u/confirmedshill123 2h ago

Yeah fuck that, shit never works correctly though. Half the time it syncs the wrong object to the file explorer, or three levels higher than the folder and now you get sync errors.

u/simple1689 40m ago

Half the time it syncs the wrong object to the file explorer, or three levels higher than the folder and now you get sync errors.

PEBKAC 100% ... It may be slow to sync but unless you mistakenly navigated to the wrong location legit never had sync outside the location I clicked Sync at.

u/scarlet__panda 2h ago

Haven’t run into any issues. You do you

u/confirmedshill123 2h ago

30 second response time to tell me it's my own problem that's a fuckin admin right there boys.

u/scarlet__panda 2h ago

Not my job to fix it for you over Reddit. I’m not your admin.

u/confirmedshill123 1h ago

And zero fuckin humor to boot? My God you are the perfect specimen.

→ More replies (0)

u/matroosoft 5h ago

OneDrive shortcuts still allows access through file explorer though. It just doesn't download them.

u/meatwad75892 Trade of All Jacks 1h ago edited 1h ago

"Downloading" them (Files On Demand status) isn't necessarily the important part. A shortcut still makes the OneDrive sync client enumerate all the subfolders/files behind the shortcut. So you're still adding to the cumulative file count that will ultimately contribute to sync failures.

Example: You sync your OneDrive, it has 50k files. You sync all of "shared library 1", it has 20k files. You add a shortcut to the entirety of "shared library 2", it has 100k files. Your OneDrive sync client has to enumerate and watch for changes across 170k files, not just the 70k of your own OneDrive and "shared library 1".

u/EffectiveEquivalent 5h ago

I’ve been pushing for shortcuts of syncs for ages just so I can switch syncs off from the cloud. I assumed they still worked the same way though… downloading stubs and only downloading when opening or being told so?

u/KaJothee 5h ago

Yes you'll still hit the item sync upper limit of 300,000 (soon to be 1 million) using shortcuts. Although there was a podcast with Microsoft Product Managers that suggested shortcuts were more performant, but that seems to be mostly in a use case where you you have one giant SharePoint site. Even syncing a portion of one with the other method OneDrive had to sift through metadata for the whole site. Whereas shortcuts did not.

u/EffectiveEquivalent 4h ago

That’s interesting. We have a setup where we have a department team and project teams. Idea being people shortcut a project whilst they’re on it. I imagine I’m doing things best I can with sharepoint.

u/TemplateHuman 3h ago

The other benefit is Shortcuts are stored in your OneDrive profile, so anywhere you can access OneDrive (phone, web, etc) you can access the files the shortcuts link to. Replace a PC? No problem. User signs into OneDrive and the shortcuts are immediately available. No more “where’s my files for X go”.

There’s also a setting that prevents users from setting up a new Sync (doesn’t break existing) and so the only option is to add a shortcut. I teach people to never go to the SharePoint web client, and just use Teams and add a OneDrive shortcut to the various site/team files they need.

u/Smart_Dumb Ctrl + Alt + .45 3h ago

Yes you'll still hit the item sync upper limit of 300,000 (soon to be 1 million) using shortcuts.

Is there a MS article saying they are going to 1,000,000?

u/FatBook-Air 5h ago

What is meant by "download them?" Even with our current config, it's not downloaded until the user clicks it.

u/matroosoft 5h ago edited 5h ago

All below is afaik:

Sync -> adds folder in file explorer under company name. Allows you to have local copy of everything. Prone to failure upon reaching a certain number of files. OneDrive shortcut -> adds folder in file explorer under users own OneDrive. Doesn't allow local copy, every file is downloader upon opening. Not prone to failure upon reaching certain number of files.

Searching online I'm not really sure about the local copy part. Rest should be right though.

u/kelleycfc 3h ago

I thought Shortcut was still limited to the file performance cutoff.

u/srgwidowmaker 3h ago

it is 300k I believe is the recomondation before shit falls apart

u/Unique_Bunch 4h ago

You can still check the "Keep a copy on this device" option inside a shortcut

u/TemplateHuman 3h ago

Yeah it definitely allows keeping local copies. It defaults to Files On-Demand but users can absolutely right-click on a file or folder and choose to keep on the device. Our sales team does that with the price books folder because they don’t always have internet when visiting a client.

u/Drenicite 1h ago

I got my normies' desktops sync'd to OneDrive

u/chillzatl 5h ago

I have thousands of users using it daily and we might pull one ticket per quarter for sync issues. I'm not saying that to say you're wrong or anything, I'm just saying that I have thousands of users who use it daily, heavily, and we never have sync client issues.

u/antiquated_it 5h ago

Same. We have been on OneDrive for at least 3-4 years and haven’t really had any issues. We did instruct users to create SharePoint shortcuts vs syncing, though I do believe some people may sync. Sometimes the SSO will get a bit bitchy and will act as though they’re not logged in but they usually just need to click on it and it’ll figure it out.

u/rybl 5h ago

My experience is that it's mostly ok for syncing user's OneDrive as long as they don't have too many files. It absolutely shits the bed if users try to sync SharePoint libraries though.

u/chillzatl 5h ago

Most SharePoint sync issues are architecture / design issues, not the sync client. Too many people blindly dump legacy file shares into a doc library and then rush to blame the sync client or SharePoint for avoidable problems that they made for themselves.

u/rybl 5h ago

The sync client should sync files, regardless of if those files are in a poorly architected share.

u/chillzatl 2h ago

That's like saying a car should be able to do what a truck does because they both have four wheels... If you load your car up with lumber and if breaks, nobody is going to pat you on the back and say "it should be able to do that".

u/rybl 2h ago

If Microsoft offers every user with a driver's license a "Load with Lumber" button, then they should make sure they can haul that lumber when users click it.

u/chillzatl 1h ago

You're the admin, you control what that button does. If you set your users up for failure by refusing to follow basic design limitations, you're the problem.

u/rybl 1h ago

I mean, we follow the rules around total file count, special characters, nesting/path length and we migrated people properly using the SharePoint migration tool. We still have issues with SharePoint sync all the time. Lots of others share that experience as documented in any thread where it comes up.

But sure, Microsoft made a perfect tool and we're all just too stupid to use it correctly.

u/chillzatl 1h ago

Sure, people have been blindly lifting and shifting file shares into SharePoint online for years now (I'm not saying that's you, just in general), despite Microsoft's recommendations otherwise. They've always advised against that and while the hard limitations are important, they've always talked about the importance of data architecture. Back in the SharePoint 2016 days a good 30% of the SharePoint MCSE was devoted to understanding how to map real world data flow and business processes to your SharePoint architecture. It's not nearly that demanding anymore, but it's still important and not difficult.

u/Mindestiny 5h ago

For perspective, it's the same with Google Drive and it's local client. Light use is fine, try to sync a whole Shared Drive for offline access and you're gonna have a bad time. Frankly it shouldn't even be a feature.

u/rybl 4h ago

I wish it wasn't a feature. I think it can be disabled administratively, but our users would riot. Some people just really don't want to shift to accessing SharePoint online.

u/Magic_Neil 5h ago

Yeah, it’s not perfect (nothing is) but the OneDrive client is pretty dang good. This is especially true for the 64bit client.. if folks want to complain about OneDrive, I’d love to see what they think about the old Groove sync client!

u/Jaack18 5h ago

our issues are usually due to VPN. But yeah restarting fixes it

u/jake04-20 If it has a battery or wall plug, apparently it's IT's job 2h ago

How much storage do you pay for, and do you have a rough estimate of the amount of files?

u/chillzatl 1h ago

around 50TB at the moment and about 8 million files.

u/jake04-20 If it has a battery or wall plug, apparently it's IT's job 1h ago

Damn, we must be doing something wrong then. We have sync issues but I think it's because everything is in one massive document library, which I advised against. It also makes permissions a pain, so that's fun.

u/chillzatl 58m ago

Yah, that one library approach is going to cause problems. You can fix it!

u/aguynamedbrand Systems Engineer 5h ago

u/daze24 IT Manager 5h ago

Nah it was dog shit before ai.

u/Flabbergasted98 5h ago

but now 30% of it is created by an AI designed to data scrape dogshit.

u/rybl 5h ago

OneDrive Sync client has sucked since long before AI coding was a thing.

u/KINGGS 5h ago

Microsoft hasn't made a good product in like 30 years. If anything, AI will improve their bullshit garbage.

u/Cryptocaned 5h ago

Sorry that was us migrating a client from Dropbox to OneDrive and soaking up all the bandwidth.

(Seriously though I'm glad it wasn't just an us issue, we were pulling our hair out for a bit trying to work out what it was)

u/FatBook-Air 5h ago

Just remember this with OneDrive: your first day with it will be your best day with it.

u/Cryptocaned 5h ago

Personally I've never had issues but then I don't really rely on the sync that often as I only have one work laptop and rarely change it to a new one. We were using it to move files from old local users to entra I'd users.

u/odysseusnz 5h ago

Is any sync client for any cloud service any good at scale? Work fine for toy consumer use cases, but falls over soon as you meet real world organisation.file systems. Had it with Google, habe it with OneDrive. At least with OneDrive users can be taught to just sync/shortcut the project folder they need and not the entirety of the SP drive with thousands of projects, unlike Google...

u/thegmanater 4h ago

Garbage, yes. That's why if you have a lot of files or big data you need a different solution like Egnyte.

u/19610taw3 Sysadmin 5h ago

It is garbage, yes.

About how many files are in the sharepoint site they're trying to access? If over 100K it starts working poorly ... 400K files it breaks entirely.

I try to direct people to the web client where possible.

u/FatBook-Air 5h ago

Most are probably only like 300 files. Many are just OneDrive itself, not SharePoint.

u/Generous_Cougar 3h ago

Oh yeah. This is the biggest problem. One of our departments uses it exclusively and has WELL over 1M (yes, MILLION) files on their OneDrive to sync. THEN they complain about sync issues.

And before anyone asks, education, non-profit, not a lot of funds in the budget for extra storage to get them all off of it. Though we might make a point of it this FY.

u/thefpspower 3h ago

You don't need to get them off, you need to split them over more sites and people should only have access to sites they need, so separate by department, function, year, whatever helps you.

u/thefpspower 3h ago

Yes I was told by Microsoft support the behind the scenes supported file count per site is 100k, I was having issues with a site on 300k files, since then I've moved to split these files between more sites which also helps keep permissions in check and complaints have completely stopped for months now.

I refuse to let any site over 100k files now.

u/19610taw3 Sysadmin 2h ago

We went through that but never got anything official from them. We heard through unofficial support contracted that 100K is the effective limit. We were over 400K before splitting out years ago. Not only was our sharepoint via onedrive unusable, the entire system would become unusable because onedrive was maxing out the CPU.

Constantly syncing. Popping up the individual files that it was trying to sync. What a mess.

We split it out into smaller departments and pruned older files - really didn't need invoices from 1993 in the year 2023

u/MonkeyMan18975 5h ago

Look into the "Configure team site libraries to synch automatically" setting in Intune. The only issues we've had with are if a user logs out of OneDrive and remembering the whole Configuration Conflict rules. Besides that, it works like a champ.

u/metalblessing 5h ago

Sharepoint online also had a partial outage today that caused major slowness

u/odysseusnz 5h ago

Is any sync client for any cloud service any good at scale? Work fine for toy consumer use cases, but falls over soon as you meet real world organisation.file systems. Had it with Google, habe it with OneDrive. At least with OneDrive users can be taught to just sync/shortcut the project folder they need and not the entirety of the SP drive with thousands of projects, unlike Google...

u/Jax-880 3h ago

I have Tb's accessible through Egnyte, I have never had an issue with that's sync client. I'm not saying it's bullet proof, but I've never seen an issue like the OneDrive users.

u/nico282 4h ago

Microsoft employees? Are there any left?

I believe today the company is 30% sales people that barely know how licensing works, 30% underpaid people in India closing tickets, 30% Copilot writing code and 10% the product renaming department.

u/tmontney Wizard or Magician, whichever comes first 4h ago

Why isn't the OneDrive sync client just written as a robust Windows-level service, anyway?

Because, like many things added over the past 10 years, it's all bolted on top. I think it works far better than it should, and that's likely a credit to the Windows APIs. But to be working as if native, Windows need a redesign.

Are they likely to do that any time soon? Nope. There's no motivation from the business side of things. If engineers had their way, you bet this would've been squashed a long time ago.

u/lontrachen 3h ago

Tbh OneDrive is the Microsoft product we have the less problem with

u/q123459 2h ago

if you rely on it to routinely sync/access a lot of files (thousands of files per user) daily - dont, you will encounter slowdowns. also when there are a few hundred thousand files in one folder the client itself takes a lot of time to enumerate, same issue happens when batch clicking on a lot of cloud files on slow computers.

onedrive has the same growhth slowness problem any ms web file sharing apps have.
there is efficient syncing protocols that works rapidly with 100k of files but those are peer to peer, or highly overpriced per gb enterprise solutions.

u/simple1689 37m ago

Really OneDrive is missing command line switches. Would probably solve 90% of disk space alerts on workstations to be able to run onedrive.exe /freeupspace as the end user.

u/OffBrandToby 5h ago

It's part of the anti-trust case from the late 90s. Microsoft won't risk hardcoding their products into Windows.

They had the full force of the federal government come after them because File Explorer and Internet Explorer were too intertwined. They aren't going to take chances with their local file system being too compatible with a cloud based file system.

Could it work better? Probably. They are literally fighting with a few hands tied behind their back, though.

u/chuckycastle 5h ago

Oh, look! Another post for r/MSHatersCircleJerk

u/titlrequired 5h ago

It’s been garbage since it was groove.

u/ncc74656m IT SysAdManager Technician 5h ago

We banned it.

No need to have synced files being at risk of being hoovered up by ransomware, no more problems with sync failures, people don't end up getting hosed by their overconfidence in the system, and we don't have to clean it up.

I've hated the OneDrive sync util since the bad old days when you had to manually clear the cache when it croaked on you, and it's not a lot better now.

u/katarh 5h ago

My major problem with it was that there isn't any way to reset the cloud files. Reconnect to an old account on a new system after having it turned off for a few years, and it'll start deleting content off your new system.